net.minecraft.world.item

public class ItemCooldowns

bej
net.minecraft.world.item.ItemCooldowns
net.minecraft.class_1796
net.minecraft.unmapped.C_kqeizhow
net.minecraft.entity.player.ItemCooldownManager
net.minecraft.util.CooldownTracker
net.minecraft.server.v1_15_R1.ItemCooldown

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public boolean
a(bei arg0)
isOnCooldown(Item arg0)
method_7904(class_1792 arg0)
m_eimagcng(C_vorddnax arg0)
isCoolingDown(Item item)
func_185141_a(Item arg0)
hasCooldown(Item arg0)
public float
a(bei 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)
func_185143_a(Item arg0, float arg1)
public void
a()
tick()
method_7903()
m_ucminnit()
update()
func_185144_a()
public void
a(bei 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)
func_185145_a(Item arg0, int arg1)
setCooldown(Item arg0, int arg1)
protected void
b(bei 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)
func_185140_b(Item arg0, int arg1)
protected void
c(bei arg0)
onCooldownEnded(Item arg0)
method_7901(class_1792 arg0)
m_tctmselg(C_vorddnax arg0)
onCooldownUpdate(Item item)
func_185146_c(Item arg0)
public void
b(bei arg0)
removeCooldown(Item arg0)
method_7900(class_1792 arg0)
m_dmdtfoju(C_vorddnax arg0)
remove(Item item)
func_185142_b(Item arg0)