net.minecraft.network.protocol.game

public class ServerboundSetCarriedItemPacket

implements Packet<ServerGamePacketListener>

tj
net.minecraft.network.protocol.game.ServerboundSetCarriedItemPacket
net.minecraft.class_2868
net.minecraft.network.packet.c2s.play.UpdateSelectedSlotC2SPacket
net.minecraft.network.play.client.CHeldItemChangePacket
net.minecraft.server.v1_16_R3.PacketPlayInHeldItemSlot

Field summary

Modifier and TypeField
private int
a
slot
field_13052
selectedSlot
field_149615_a
itemInHandIndex

Constructor summary

ModifierConstructor
public ()
public (int selectedSlot)

Method summary

Modifier and TypeMethod
public void
a(nf arg0)
read(FriendlyByteBuf arg0)
method_11053(class_2540 arg0)
read(PacketByteBuf arg0)
func_148837_a(PacketBuffer arg0)
public void
b(nf arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
func_148840_b(PacketBuffer arg0)
public void
a(sa arg0)
handle(ServerGamePacketListener arg0)
method_12441(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
func_148833_a(IServerPlayNetHandler arg0)
public int
b()
getSlot()
method_12442()
getSelectedSlot()
func_149614_c()