Interface CombatEntityHitListener
- All Superinterfaces:
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.
This listener provides callbacks for when an
ICombatEntity was hit.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidhit(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.
-