net.minecraft.network.protocol.game

public class ServerboundSetCarriedItemPacket

implements Packet<ServerGamePacketListener>

ahv
net.minecraft.network.protocol.game.ServerboundSetCarriedItemPacket
net.minecraft.class_2868
net.minecraft.network.packet.c2s.play.UpdateSelectedSlotC2SPacket
net.minecraft.src.C_5189_
net.minecraft.network.protocol.game.PacketPlayInHeldItemSlot

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundSetCarriedItemPacket>
a
STREAM_CODEC
field_48216
CODEC
f_314858_
private final int
b
slot
field_13052
selectedSlot
f_134488_

Constructor summary

ModifierConstructor
public (int selectedSlot)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vw arg0)
write(FriendlyByteBuf arg0)
method_55996(class_2540 arg0)
write(PacketByteBuf buf)
m_134499_(C_4983_ arg0)
public PacketType<ServerboundSetCarriedItemPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(agi arg0)
handle(ServerGamePacketListener arg0)
method_12441(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public int
b()
getSlot()
method_12442()
getSelectedSlot()
m_134498_()