net.minecraft.network.protocol.game

public record ClientboundCooldownPacket

implements Packet<ClientGamePacketListener>

adg
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
b
item
comp_2198
item
f_131996_
private final int
c
duration
comp_2199
cooldown
f_131997_
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundCooldownPacket>
a
STREAM_CODEC
field_47919
CODEC
f_315282_

Constructor summary

ModifierConstructor
public (Item duration, int arg1)

Method summary

Modifier and TypeMethod
public PacketType<ClientboundCooldownPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(aci arg0)
handle(ClientGamePacketListener arg0)
method_11455(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public Item
b()
item()
comp_2198()
item()
f_131996_()
public int
e()
duration()
comp_2199()
cooldown()
f_131997_()