Class EntityEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.entity.EntityEvent
- Direct Known Subclasses:
EntityEvent.EnteringSection,EntityEvent.EntityConstructing,EntityEvent.Size,EntityInvulnerabilityCheckEvent,EntityJoinLevelEvent,EntityLeaveLevelEvent,EntityMobGriefingEvent,EntityMountEvent,EntityStruckByLightningEvent,EntityTeleportEvent,EntityTickEvent,EntityTravelToDimensionEvent,ItemEvent,LivingEvent,MobSpawnEvent,ProjectileImpactEvent
public abstract class EntityEvent
extends net.neoforged.bus.api.Event
Base class of the events involving entities.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis event is fired on server and client after an Entity has entered a different section.static classEntityConstructing is fired when an Entity is being created.static classFired whenever the entity'sPosechanges for manipulating the resultingEntityDimensions. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
entity
-
-
Constructor Details
-
EntityEvent
-
-
Method Details
-
getEntity
-