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.EventListenerThis listener provides callbacks for when an
ICombatEntity was hit.Method Summary
Modifier and Type Method Description voidhit(EntityHitEvent event)This method is called whenever aICombatEntitywas hit.
Method Details
hit
This method is called whenever aICombatEntitywas 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.
