Class EntityTickEvent

java.lang.Object
net.minestom.server.event.entity.EntityTickEvent
All Implemented Interfaces:
Event, EntityEvent, EntityInstanceEvent, InstanceEvent

public class EntityTickEvent extends Object implements EntityInstanceEvent
Called when an entity ticks itself. Same event instance used for all tick events for the same entity.
  • Constructor Details

    • EntityTickEvent

      public EntityTickEvent(@NotNull @NotNull Entity entity)
  • Method Details

    • getEntity

      @NotNull public @NotNull Entity getEntity()
      Description copied from interface: EntityEvent
      Gets the entity of this event.
      Specified by:
      getEntity in interface EntityEvent
      Returns:
      the entity