Class EntityEvent.Size

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.entity.EntityEvent
net.neoforged.neoforge.event.entity.EntityEvent.Size
Enclosing class:
EntityEvent

public static class EntityEvent.Size extends EntityEvent
Fired whenever the entity's Pose changes for manipulating the resulting EntityDimensions.

Note: This event is fired from the Entity constructor, and therefore the entity instance might not be fully initialized. Be cautious in using methods and fields from the instance, and check Entity.isAddedToLevel() or Entity.firstTick.

This event is not cancellable, and is fired on the game event bus.