Interface CooldownEvent
-
- All Superinterfaces:
Event
- All Known Subinterfaces:
CooldownEvent.End,CooldownEvent.Set
public interface CooldownEvent extends Event
An event which handles items in aplayer'sCooldownTrackerbeing given a cooldown or going off cooldown.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceCooldownEvent.Endstatic interfaceCooldownEvent.Set
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ItemTypeitemType()Gets the associated item type whose cooldown is being set or removed.ServerPlayerplayer()Gets theplayer.
-
-
-
Method Detail
-
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
-
-