Interface CombatEntityDeathListener

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.

@FunctionalInterface public interface CombatEntityDeathListener extends EventListener
This listener provides callbacks for when an ICombatEntity died.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is called whenever a ICombatEntity dies.
  • Method Details

    • death

      void death(ICombatEntity entity)
      This method is called whenever a ICombatEntity dies.
      Parameters:
      entity - The combat entity that died.