Class ItemCooldowns

java.lang.Object
net.minecraft.world.item.ItemCooldowns
Direct Known Subclasses:
ServerItemCooldowns

public class ItemCooldowns extends Object
  • Field Details

  • Constructor Details

    • ItemCooldowns

      public ItemCooldowns()
  • Method Details

    • isOnCooldown

      public boolean isOnCooldown(Item p_41520_)
    • getCooldownPercent

      public float getCooldownPercent(Item p_41522_, float p_41523_)
    • tick

      public void tick()
    • addCooldown

      public void addCooldown(Item p_41525_, int p_41526_)
    • removeCooldown

      public void removeCooldown(Item p_41528_)
    • onCooldownStarted

      protected void onCooldownStarted(Item p_41529_, int p_41530_)
    • onCooldownEnded

      protected void onCooldownEnded(Item p_41531_)