Class ItemCooldownManager

java.lang.Object
net.minecraft.entity.player.ItemCooldownManager
Direct Known Subclasses:
ServerItemCooldownManager

public class ItemCooldownManager
extends Object
  • Field Details

  • Constructor Details

    • ItemCooldownManager

      public ItemCooldownManager()
  • Method Details

    • isCoolingDown

      public boolean isCoolingDown​(Item item)
    • getCooldownProgress

      public float getCooldownProgress​(Item item, float partialTicks)
    • update

      public void update()
    • set

      public void set​(Item item, int duration)
    • remove

      @Environment(CLIENT) public void remove​(Item item)
    • onCooldownUpdate

      protected void onCooldownUpdate​(Item item, int duration)
    • onCooldownUpdate

      protected void onCooldownUpdate​(Item item)