net.minecraft.world.item

public class ItemCooldowns

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

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public boolean
a(bqm arg0)
isOnCooldown(Item arg0)
method_7904(class_1792 arg0)
m_eimagcng(C_vorddnax arg0)
isCoolingDown(Item item)
m_41519_(C_1381_ arg0)
hasCooldown(Item arg0)
public float
a(bqm arg0, float arg1)
getCooldownPercent(Item arg0, float arg1)
method_7905(class_1792 arg0, float arg1)
m_fazvauft(C_vorddnax arg0, float arg1)
getCooldownProgress(Item item, float partialTicks)
m_41521_(C_1381_ p_41523_, float arg1)
public void
a()
tick()
method_7903()
m_ucminnit()
update()
m_41518_()
public void
a(bqm arg0, int arg1)
addCooldown(Item arg0, int arg1)
method_7906(class_1792 arg0, int arg1)
m_yonywtqp(C_vorddnax arg0, int arg1)
set(Item item, int duration)
m_41524_(C_1381_ p_41526_, int arg1)
setCooldown(Item arg0, int arg1)
public void
b(bqm arg0)
removeCooldown(Item arg0)
method_7900(class_1792 arg0)
m_dmdtfoju(C_vorddnax arg0)
remove(Item item)
m_41527_(C_1381_ arg0)
protected void
b(bqm arg0, int arg1)
onCooldownStarted(Item arg0, int arg1)
method_7902(class_1792 arg0, int arg1)
m_zkqxkpud(C_vorddnax arg0, int arg1)
onCooldownUpdate(Item item, int duration)
m_6899_(C_1381_ p_41530_, int arg1)
protected void
c(bqm arg0)
onCooldownEnded(Item arg0)
method_7901(class_1792 arg0)
m_tctmselg(C_vorddnax arg0)
onCooldownUpdate(Item item)
m_7432_(C_1381_ arg0)