net.minecraft.world.item

public class ItemCooldowns

cxm
net.minecraft.world.item.ItemCooldowns
net.minecraft.class_1796
net.minecraft.entity.player.ItemCooldownManager
net.minecraft.world.item.ItemCooldown

Field summary

Modifier and TypeField
private final Map<ResourceLocation, ItemCooldowns$CooldownInstance>
a
cooldowns
field_8024
entries
private int
b
tickCount
field_8025
tick

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public boolean
a(cxp arg0)
isOnCooldown(ItemStack arg0)
method_7904(class_1799 arg0)
isCoolingDown(ItemStack stack)
public float
a(cxp arg0, float arg1)
getCooldownPercent(ItemStack arg0, float arg1)
method_7905(class_1799 arg0, float arg1)
getCooldownProgress(ItemStack stack, float tickDelta)
public void
a()
tick()
method_7903()
update()
public ResourceLocation
b(cxp arg0)
getCooldownGroup(ItemStack arg0)
method_62836(class_1799 arg0)
getGroup(ItemStack stack)
public void
a(cxp arg0, int arg1)
addCooldown(ItemStack arg0, int arg1)
method_62835(class_1799 arg0, int arg1)
set(ItemStack stack, int duration)
public void
a(alz arg0, int arg1)
addCooldown(ResourceLocation arg0, int arg1)
method_7906(class_2960 arg0, int arg1)
set(Identifier groupId, int duration)
public void
a(alz arg0)
removeCooldown(ResourceLocation arg0)
method_7900(class_2960 arg0)
remove(Identifier groupId)
protected void
b(alz arg0, int arg1)
onCooldownStarted(ResourceLocation arg0, int arg1)
method_7902(class_2960 arg0, int arg1)
onCooldownUpdate(Identifier groupId, int duration)
protected void
b(alz arg0)
onCooldownEnded(ResourceLocation arg0)
method_7901(class_2960 arg0)
onCooldownUpdate(Identifier groupId)