Interface CombatEntityDeathListener

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 CombatEntityDeathListener
extends java.util.EventListener
This listener provides callbacks for when an ICombatEntity died.
See Also:
ICombatEntity.die()
  • Method Summary

    Modifier and TypeMethodDescription
    voiddeath​(ICombatEntity entity)
    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.