Package net.minestom.server.event.entity
Class EntityTickEvent
java.lang.Object
net.minestom.server.event.entity.EntityTickEvent
- All Implemented Interfaces:
Event
,EntityEvent
,EntityInstanceEvent
,InstanceEvent
Called when an entity ticks itself.
Same event instance used for all tick events for the same entity.
-
Constructor Details
-
EntityTickEvent
-
-
Method Details
-
getEntity
Description copied from interface:EntityEvent
Gets the entity of this event.- Specified by:
getEntity
in interfaceEntityEvent
- Returns:
- the entity
-