net.minecraft.network.protocol.game

public class ServerboundSetCarriedItemPacket

implements Packet<ServerGamePacketListener>

ws
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
private final int
a
slot
field_13052
selectedSlot
f_134488_

Constructor summary

ModifierConstructor
public (int selectedSlot)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(py arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(vi 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_()