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 TypeMethodDescriptionvoidfrozenLib$changeCooldown(net.minecraft.world.item.Item item, int additional) voidfrozenLib$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
-
Constructor Details
-
ServerItemCooldownsMixin
public ServerItemCooldownsMixin()
-
-
Method Details
-
frozenLib$changeCooldown
public void frozenLib$changeCooldown(net.minecraft.world.item.Item item, int additional) - Specified by:
frozenLib$changeCooldownin interfaceCooldownInterface
-
frozenLib$onCooldownChanged
public void frozenLib$onCooldownChanged(net.minecraft.world.item.Item item, int additional) - Specified by:
frozenLib$onCooldownChangedin interfaceCooldownInterface
-