Class LivingConversionEvent.Post
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.entity.EntityEvent
net.neoforged.neoforge.event.entity.living.LivingEvent
net.neoforged.neoforge.event.entity.living.LivingConversionEvent
net.neoforged.neoforge.event.entity.living.LivingConversionEvent.Post
- Enclosing class:
LivingConversionEvent
LivingConversionEvent.Post is triggered when an entity is replacing
itself with another entity.
The old living entity is likely to be removed right after this event.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.neoforged.neoforge.event.entity.living.LivingConversionEvent
LivingConversionEvent.Post, LivingConversionEvent.Pre
Nested classes/interfaces inherited from class net.neoforged.neoforge.event.entity.living.LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingVisibilityEvent
Nested classes/interfaces inherited from class net.neoforged.neoforge.event.entity.EntityEvent
EntityEvent.EnteringSection, EntityEvent.EntityConstructing, EntityEvent.Size
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the finalized new entity (with all data like potion effect and equipments set)Methods inherited from class net.neoforged.neoforge.event.entity.living.LivingEvent
getEntity
-
Field Details
-
outcome
-
-
Constructor Details
-
Post
-
-
Method Details
-
getOutcome
Gets the finalized new entity (with all data like potion effect and equipments set)- Returns:
- the finalized new entity
-