Class EntityEventHandler
java.lang.Object
tschipp.callablehorses.common.events.EntityEventHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanonEntityJoinLevel(net.minecraft.world.entity.Entity joiningEntity, net.minecraft.world.level.Level world) static voidonEntityLeaveLevel(net.minecraft.world.entity.Entity entity, net.minecraft.world.level.Level world) static voidonLivingDeath(net.minecraft.world.entity.LivingEntity entity) static voidonLivingTick(net.minecraft.world.entity.LivingEntity entity) static voidonPlayerClone(HorseOwnerData oldHorse, HorseOwnerData newHorse) static voidonStartTracking(net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.Entity target) static voidonStopTracking(net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.Entity target)
-
Constructor Details
-
EntityEventHandler
public EntityEventHandler()
-
-
Method Details
-
onEntityJoinLevel
public static boolean onEntityJoinLevel(net.minecraft.world.entity.Entity joiningEntity, net.minecraft.world.level.Level world) -
onPlayerClone
-
onEntityLeaveLevel
public static void onEntityLeaveLevel(net.minecraft.world.entity.Entity entity, net.minecraft.world.level.Level world) -
onStopTracking
public static void onStopTracking(net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.Entity target) -
onStartTracking
public static void onStartTracking(net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.Entity target) -
onLivingTick
public static void onLivingTick(net.minecraft.world.entity.LivingEntity entity) -
onLivingDeath
public static void onLivingDeath(net.minecraft.world.entity.LivingEntity entity)
-