net.minecraft.network.packet.c2s.play

public record CreativeInventoryActionC2SPacket

implements Packet<ServerPlayPacketListener>

net.minecraft.network.protocol.game.ServerboundSetCreativeModeSlotPacket
net.minecraft.class_2873
net.minecraft.network.packet.c2s.play.CreativeInventoryActionC2SPacket

Field summary

Modifier and TypeField
private final short
slotNum
comp_2609
slot
private final ItemStack
itemStack
comp_2610
stack
public static final PacketCodec<RegistryByteBuf, CreativeInventoryActionC2SPacket>
STREAM_CODEC
field_48219
CODEC

Constructor summary

ModifierConstructor
public (int slot, ItemStack stack)
public (short slot, ItemStack stack)

Method summary

Modifier and TypeMethod
public PacketType<CreativeInventoryActionC2SPacket>
type()
method_65080()
getPacketType()
public void
handle(ServerGamePacketListener listener)
method_12480(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public short
slotNum()
comp_2609()
slot()
public ItemStack
itemStack()
comp_2610()
stack()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)