Interface CooldownEvent
- All Superinterfaces:
Event
- All Known Subinterfaces:
CooldownEvent.End
,CooldownEvent.Set
An event which handles items in a
player's
CooldownTracker
being given a cooldown or going off cooldown.-
Method Details
-
player
ServerPlayer player()Gets theplayer
.- Returns:
- The player
-
itemType
ItemType itemType()Gets the associated item type whose cooldown is being set or removed.- Returns:
- The associated item type
-