net.minecraft.world.item

public class ItemCooldowns

cwn
net.minecraft.world.item.ItemCooldowns
net.minecraft.class_1796
net.minecraft.unmapped.C_kqeizhow
net.minecraft.entity.player.ItemCooldownManager
net.minecraft.entity.player.ItemCooldownManager
net.minecraft.src.C_1384_
net.minecraft.world.item.ItemCooldown

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public boolean
a(cwq arg0)
isOnCooldown(ItemStack arg0)
method_7904(class_1799 arg0)
m_eimagcng(C_sddaxwyk arg0)
isCoolingDown(ItemStack stack)
isCoolingDown(ItemStack stack)
m_41519_(C_1391_ arg0)
public float
a(cwq arg0, float arg1)
getCooldownPercent(ItemStack arg0, float arg1)
method_7905(class_1799 arg0, float arg1)
m_fazvauft(C_sddaxwyk arg0, float arg1)
getCooldownProgress(ItemStack stack, float tickDelta)
getCooldownProgress(ItemStack stack, float partialTicks)
m_41521_(C_1391_ p_41523_, float arg1)
public void
a()
tick()
method_7903()
m_ucminnit()
update()
update()
m_41518_()
public ResourceLocation
b(cwq arg0)
getCooldownGroup(ItemStack arg0)
method_62836(class_1799 arg0)
m_yauzymmh(C_sddaxwyk arg0)
getGroup(ItemStack stack)
getCooldownGroup(ItemStack stack)
m_355430_(C_1391_ arg0)
public void
a(cwq arg0, int arg1)
addCooldown(ItemStack arg0, int arg1)
method_62835(class_1799 arg0, int arg1)
m_qfjbqzmn(C_sddaxwyk arg0, int arg1)
set(ItemStack stack, int duration)
set(ItemStack stack, int duration)
m_357294_(C_1391_ p_367584_, int arg1)
public void
a(akv arg0, int arg1)
addCooldown(ResourceLocation arg0, int arg1)
method_7906(class_2960 arg0, int arg1)
m_rizxqeam(C_ncpywfca arg0, int arg1)
set(Identifier groupId, int duration)
set(Identifier id, int duration)
m_41524_(C_5265_ p_41526_, int arg1)
public void
a(akv arg0)
removeCooldown(ResourceLocation arg0)
method_7900(class_2960 arg0)
m_dmdtfoju(C_ncpywfca arg0)
remove(Identifier groupId)
remove(Identifier id)
m_41527_(C_5265_ arg0)
protected void
b(akv arg0, int arg1)
onCooldownStarted(ResourceLocation arg0, int arg1)
method_7902(class_2960 arg0, int arg1)
m_zkqxkpud(C_ncpywfca arg0, int arg1)
onCooldownUpdate(Identifier groupId, int duration)
onCooldownUpdate(Identifier id, int duration)
m_6899_(C_5265_ p_41530_, int arg1)
protected void
b(akv arg0)
onCooldownEnded(ResourceLocation arg0)
method_7901(class_2960 arg0)
m_tctmselg(C_ncpywfca arg0)
onCooldownUpdate(Identifier groupId)
onCooldownUpdate(Identifier id)
m_7432_(C_5265_ arg0)