Class LivingConversionEvent
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.event.entity.EntityEvent
-
- net.minecraftforge.event.entity.living.LivingEvent
-
- net.minecraftforge.event.entity.living.LivingConversionEvent
-
- Direct Known Subclasses:
LivingConversionEvent.Post
,LivingConversionEvent.Pre
public class LivingConversionEvent extends LivingEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LivingConversionEvent.Post
LivingConversionEvent.Post is triggered when an entity is replacing itself with another entity.static class
LivingConversionEvent.Pre
LivingConversionEvent.Pre is triggered when an entity is trying to replace itself with another entity This event may trigger every tick even if it was cancelled last tick for entities like Zombies and Hoglins.-
Nested classes/interfaces inherited from class net.minecraftforge.event.entity.living.LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent, LivingEvent.LivingVisibilityEvent
-
Nested classes/interfaces inherited from class net.minecraftforge.event.entity.EntityEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, EntityEvent.Size
-
-
Constructor Summary
Constructors Constructor Description LivingConversionEvent(LivingEntity entity)
-
Method Summary
-
Methods inherited from class net.minecraftforge.event.entity.living.LivingEvent
getEntityLiving
-
Methods inherited from class net.minecraftforge.event.entity.EntityEvent
getEntity
-
-
-
-
Constructor Detail
-
LivingConversionEvent
public LivingConversionEvent(LivingEntity entity)
-
-