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

    • player

      ServerPlayer player()
      Gets the player.
      Returns:
      The player
    • itemType

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