Interface DamageEntityEvent.Post

All Superinterfaces:
Cancellable, DamageCalculationEvent, DamageCalculationEvent.Post, DamageEntityEvent, Event
All Known Implementing Classes:
AbstractDamageEntityEventPost
Enclosing interface:
DamageEntityEvent

public static interface DamageEntityEvent.Post extends DamageEntityEvent, DamageCalculationEvent.Post
Fires after the damage steps and their side effects have been applied.
  • Method Details

    • willCauseDeath

      boolean willCauseDeath()
      Returns whether this event will cause the entity to die if the event is not cancelled. Only supported for living entities, returns false if DamageCalculationEvent.entity() is not a living entity.
      Returns:
      Whether the entity will die