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