Class EntityDeathEvent

java.lang.Object
net.minestom.server.event.Event
net.minestom.server.event.entity.EntityDeathEvent

public class EntityDeathEvent
extends Event
  • Constructor Summary

    Constructors 
    Constructor Description
    EntityDeathEvent​(Entity entity)  
  • Method Summary

    Modifier and Type Method Description
    Entity getEntity()
    Get the killed entity,

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getEntity

      @NotNull public Entity getEntity()
      Get the killed entity,
      Returns:
      the entity that died