- Enclosing class:
ServerLivingEntityEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
void
Called when a living entity dies.
-
Method Details
-
afterDeath
Called when a living entity dies. The death cannot be canceled at this point.
- Parameters:
entity
- the entity
damageSource
- the source of the fatal damage