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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface DamageCalculationEvent
DamageCalculationEvent.Post, DamageCalculationEvent.PreNested classes/interfaces inherited from interface DamageEntityEvent
DamageEntityEvent.Post, DamageEntityEvent.Pre -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether this event will cause the entity to die if the event is not cancelled.Methods inherited from interface Cancellable
isCancelled, setCancelledMethods inherited from interface DamageCalculationEvent
baseDamage, entityMethods inherited from interface DamageCalculationEvent.Post
finalDamage, history
-
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 ifDamageCalculationEvent.entity()is not a living entity.- Returns:
- Whether the entity will die
-