net.minecraft.network.protocol.game

public class ClientboundCooldownPacket

implements Packet<ClientGamePacketListener>

ve
net.minecraft.network.protocol.game.ClientboundCooldownPacket
net.minecraft.class_2656
net.minecraft.network.packet.s2c.play.CooldownUpdateS2CPacket
net.minecraft.src.C_5059_
net.minecraft.network.protocol.game.PacketPlayOutSetCooldown

Field summary

Modifier and TypeField
private final Item
a
item
field_12154
item
f_131996_
private final int
b
duration
field_12155
cooldown
f_131997_

Constructor summary

ModifierConstructor
public (Item item, int cooldown)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(sd arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(uk arg0)
handle(ClientGamePacketListener arg0)
method_11455(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public Item
b()
getItem()
method_11453()
getItem()
m_132008_()
public int
c()
getDuration()
method_11454()
getCooldown()
m_132011_()