net.minecraft.network.protocol.game

public record ServerboundSetCreativeModeSlotPacket

implements Packet<ServerGamePacketListener>

ahy
net.minecraft.network.protocol.game.ServerboundSetCreativeModeSlotPacket
net.minecraft.class_2873
net.minecraft.network.packet.c2s.play.CreativeInventoryActionC2SPacket
net.minecraft.src.C_5192_
net.minecraft.network.protocol.game.PacketPlayInSetCreativeSlot

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public PacketType<ServerboundSetCreativeModeSlotPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(agi arg0)
handle(ServerGamePacketListener arg0)
method_12480(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public short
b()
slotNum()
comp_2609()
slot()
f_134549_()
public ItemStack
e()
itemStack()
comp_2610()
stack()
f_134550_()