net.minecraft.world.item

public class ItemCooldowns

bzx
net.minecraft.world.item.ItemCooldowns
net.minecraft.class_1796
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
entries
f_41515_
private int
b
tickCount
field_8025
tick
f_41516_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public boolean
a(bzw arg0)
isOnCooldown(Item arg0)
method_7904(class_1792 arg0)
isCoolingDown(Item item)
m_41519_(C_1381_ arg0)
public float
a(bzw arg0, float arg1)
getCooldownPercent(Item arg0, float arg1)
method_7905(class_1792 arg0, float arg1)
getCooldownProgress(Item item, float tickDelta)
m_41521_(C_1381_ p_41523_, float arg1)
public void
a()
tick()
method_7903()
update()
m_41518_()
public void
a(bzw arg0, int arg1)
addCooldown(Item arg0, int arg1)
method_7906(class_1792 arg0, int arg1)
set(Item item, int duration)
m_41524_(C_1381_ p_41526_, int arg1)
public void
b(bzw arg0)
removeCooldown(Item arg0)
method_7900(class_1792 arg0)
remove(Item item)
m_41527_(C_1381_ arg0)
protected void
b(bzw arg0, int arg1)
onCooldownStarted(Item arg0, int arg1)
method_7902(class_1792 arg0, int arg1)
onCooldownUpdate(Item item, int duration)
m_6899_(C_1381_ p_41530_, int arg1)
protected void
c(bzw arg0)
onCooldownEnded(Item arg0)
method_7901(class_1792 arg0)
onCooldownUpdate(Item item)
m_7432_(C_1381_ arg0)