Class PlayerItemCooldownEvent

All Implemented Interfaces:
Cancellable

@NullMarked public class PlayerItemCooldownEvent extends PlayerItemGroupCooldownEvent
Fired when a player receives an item cooldown when using an item.
See Also:
  • Constructor Details

  • Method Details

    • getType

      public Material getType()
      Get the material of the item affected by the cooldown.
      Returns:
      material affected by the cooldown