Uses of Interface
org.bukkit.inventory.meta.components.UseCooldownComponent
Package
Description
The interfaces used when manipulating extra data can can be stored inside
item stacks
.-
Uses of UseCooldownComponent in org.bukkit.inventory.meta
Modifier and TypeMethodDescriptionItemMeta.getUseCooldown()
Gets the use cooldown set on this item, or creates an empty cooldown instance.Modifier and TypeMethodDescriptionvoid
ItemMeta.setUseCooldown
(@Nullable UseCooldownComponent cooldown) Sets the item use cooldown.