net.minecraft.network.protocol.game

public class ClientboundSetHeldSlotPacket

implements Packet<ClientGamePacketListener>

agh
net.minecraft.network.protocol.game.ClientboundSetHeldSlotPacket
net.minecraft.class_2735
net.minecraft.network.packet.s2c.play.UpdateSelectedSlotS2CPacket
net.minecraft.src.C_345591_
net.minecraft.network.protocol.game.PacketPlayOutHeldItemSlot

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundSetHeldSlotPacket>
a
STREAM_CODEC
field_47974
CODEC
f_348109_
private final int
b
slot
field_12463
slot
f_349126_

Constructor summary

ModifierConstructor
public (int slot)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(ws arg0)
write(FriendlyByteBuf arg0)
method_55921(class_2540 arg0)
write(PacketByteBuf buf)
m_355544_(C_4983_ arg0)
public PacketType<ClientboundSetHeldSlotPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(acr arg0)
handle(ClientGamePacketListener arg0)
method_11802(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public int
b()
getSlot()
method_11803()
getSlot()
m_357206_()