- 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
boolean
allowDeath(net.minecraft.world.entity.LivingEntity entity,
net.minecraft.world.damagesource.DamageSource damageSource,
float damageAmount)
Called when a living entity takes fatal damage (before totems of undying can take effect).