Class ServerItemCooldownsMixin

java.lang.Object
net.minecraft.world.item.ItemCooldowns
net.frozenblock.lib.item.mixin.ServerItemCooldownsMixin
All Implemented Interfaces:
CooldownInterface

public class ServerItemCooldownsMixin extends net.minecraft.world.item.ItemCooldowns implements CooldownInterface
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.item.ItemCooldowns

    net.minecraft.world.item.ItemCooldowns.CooldownInstance
  • Field Summary

    Fields inherited from class net.minecraft.world.item.ItemCooldowns

    cooldowns, tickCount
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changeCooldown(net.minecraft.world.item.Item item, int additional)
     
    void
    onCooldownChanged(net.minecraft.world.item.Item item, int additional)
     

    Methods inherited from class net.minecraft.world.item.ItemCooldowns

    addCooldown, getCooldownPercent, isOnCooldown, onCooldownEnded, onCooldownStarted, removeCooldown, tick

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ServerItemCooldownsMixin

      public ServerItemCooldownsMixin()
  • Method Details

    • changeCooldown

      public void changeCooldown(net.minecraft.world.item.Item item, int additional)
      Specified by:
      changeCooldown in interface CooldownInterface
    • onCooldownChanged

      public void onCooldownChanged(net.minecraft.world.item.Item item, int additional)
      Specified by:
      onCooldownChanged in interface CooldownInterface