Package net.frozenblock.lib.item.mixin
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeCooldown(net.minecraft.world.item.Item item, int additional) voidonCooldownChanged(net.minecraft.world.item.Item item, int additional) Methods inherited from class net.minecraft.world.item.ItemCooldowns
addCooldown, getCooldownPercent, isOnCooldown, onCooldownEnded, onCooldownStarted, removeCooldown, tick
-
Constructor Details
-
ServerItemCooldownsMixin
public ServerItemCooldownsMixin()
-
-
Method Details
-
changeCooldown
public void changeCooldown(net.minecraft.world.item.Item item, int additional) - Specified by:
changeCooldownin interfaceCooldownInterface
-
onCooldownChanged
public void onCooldownChanged(net.minecraft.world.item.Item item, int additional) - Specified by:
onCooldownChangedin interfaceCooldownInterface
-