Client event handlers should be specified as such!

This commit is contained in:
Electroblob77
2020-07-27 13:10:05 +01:00
parent eba219bcce
commit e5e01dca88
4 changed files with 8 additions and 4 deletions
@@ -11,6 +11,7 @@ import net.minecraft.util.math.MathHelper;
import net.minecraftforge.client.event.RenderLivingEvent;
import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.relauncher.Side;
/**
* Layer used to render the appear/disappear animation for summoned creatures.
@@ -18,7 +19,7 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
* @author Electroblob
* @since Wizardry 4.3
*/
@EventBusSubscriber
@EventBusSubscriber(Side.CLIENT)
public class LayerDisintegrateAnimation<T extends EntityLivingBase> extends LayerTiledOverlay<T> {
private static final int ANIMATION_TICKS = 19; // One less than the max death time
@@ -11,6 +11,7 @@ import net.minecraft.util.ResourceLocation;
import net.minecraftforge.client.event.RenderLivingEvent;
import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.relauncher.Side;
/**
* Layer used to render the appear/disappear animation for summoned creatures.
@@ -18,7 +19,7 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
* @author Electroblob
* @since Wizardry 4.3
*/
@EventBusSubscriber
@EventBusSubscriber(Side.CLIENT)
public class LayerSummonAnimation<T extends EntityLivingBase> extends LayerTiledOverlay<T> {
private static final int ANIMATION_TICKS = 19;