net.minecraft.network.protocol.game

public class ServerboundSetCarriedItemPacket

implements Packet<ServerGamePacketListener>

ahx
net.minecraft.network.protocol.game.ServerboundSetCarriedItemPacket
net.minecraft.class_2868
net.minecraft.network.packet.c2s.play.UpdateSelectedSlotC2SPacket
net.minecraft.network.protocol.game.PacketPlayInHeldItemSlot

Field summary

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

Constructor summary

ModifierConstructor
public (int selectedSlot)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_55996(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ServerboundSetCarriedItemPacket>
a()
type()
method_65080()
getPacketType()
public void
a(agg arg0)
handle(ServerGamePacketListener arg0)
method_12441(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public int
b()
getSlot()
method_12442()
getSelectedSlot()