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.network.protocol.game.PacketPlayOutHeldItemSlot

Field summary

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

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)
public PacketType<ClientboundSetHeldSlotPacket>
a()
type()
method_55846()
getPacketId()
public void
a(acr arg0)
handle(ClientGamePacketListener arg0)
method_11802(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
b()
getSlot()
method_11803()
getSlot()