net.minecraft.network.protocol.game

public record ServerboundSetCreativeModeSlotPacket

implements Packet<ServerGamePacketListener>

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

Field summary

Modifier and TypeField
private final short
b
slotNum
comp_2609
slot
private final ItemStack
c
itemStack
comp_2610
stack
public static final StreamCodec<RegistryFriendlyByteBuf, ServerboundSetCreativeModeSlotPacket>
a
STREAM_CODEC
field_48219
CODEC

Constructor summary

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

Method summary

Modifier and TypeMethod
public PacketType<ServerboundSetCreativeModeSlotPacket>
a()
type()
method_65080()
getPacketType()
public void
a(agg arg0)
handle(ServerGamePacketListener arg0)
method_12480(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public short
b()
slotNum()
comp_2609()
slot()
public ItemStack
e()
itemStack()
comp_2610()
stack()