Interface CombatEntityHitListener
- All Superinterfaces:
java.util.EventListener
- All Known Subinterfaces:
CombatEntityListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface CombatEntityHitListener
extends java.util.EventListener
This listener provides callbacks for when an
ICombatEntity
was hit.Method Summary
Modifier and Type Method Description void
hit(EntityHitEvent event)
This method is called whenever aICombatEntity
was hit.
Method Details
hit
This method is called whenever aICombatEntity
was hit.- Parameters:
event
- The event data that contains information about the entity, for how much it was hit and the ability that caused the hit.