net.minecraft.network.protocol.game

public class ServerboundSetCarriedItemPacket

implements Packet<ServerGamePacketListener>

aij
net.minecraft.network.protocol.game.ServerboundSetCarriedItemPacket
net.minecraft.class_2868
net.minecraft.unmapped.C_zjzfpaba
net.minecraft.network.packet.c2s.play.UpdateSelectedSlotC2SPacket
net.minecraft.network.packet.c2s.play.SelectedSlotUpdateC2SPacket
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
f_bwzyofuv
CODEC
CODEC
f_314858_
private final int
b
slot
field_13052
f_zehwxxgx
selectedSlot
selectedSlot
f_134488_

Constructor summary

ModifierConstructor
public (int selectedSlot)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(wm arg0)
write(FriendlyByteBuf arg0)
method_55996(class_2540 arg0)
m_ccbzayhk(C_idfydwco arg0)
write(PacketByteBuf buf)
write(PacketByteBuf buf)
m_134499_(C_4983_ arg0)
public PacketType<ServerboundSetCarriedItemPacket>
a()
type()
method_55846()
m_bbocywrf()
getPacketId()
getType()
m_5779_()
public void
a(agw arg0)
handle(ServerGamePacketListener arg0)
method_12441(class_2792 arg0)
m_wffzvgjy(C_eetcdhxt arg0)
apply(ServerPlayPacketListener arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public int
b()
getSlot()
method_12442()
m_gbyyxoxc()
getSelectedSlot()
getSelectedSlot()
m_134498_()