Class EntityDeathEvent

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

public class EntityDeathEvent extends Object implements EntityInstanceEvent
  • Constructor Details

    • EntityDeathEvent

      public EntityDeathEvent(@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