Interface CooldownEvent

All Superinterfaces:
Event
All Known Subinterfaces:
CooldownEvent.End, CooldownEvent.Set

public interface CooldownEvent extends Event
An event which handles items in a player's CooldownTracker being given a cooldown or going off cooldown.
  • Method Details Link icon

    • player Link icon

      ServerPlayer player()
      Gets the player.
      Returns:
      The player
    • group Link icon

      ResourceKey group()
      Gets the associated item group whose cooldown is being set or removed.
      Returns:
      The associated item type