Class CreativeInventoryActionC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.CreativeInventoryActionC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
public class CreativeInventoryActionC2SPacket
extends Object
implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official agointermediary net/minecraft/class_2873named net/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec<RegistryByteBuf, CreativeInventoryActionC2SPacket> private final intprivate final ItemStack -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreativeInventoryActionC2SPacket(int slot, ItemStack stack) private -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ServerPlayPacketListener serverPlayPacketListener) intgetSlot()getStack()private voidwrite(RegistryByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLago;a:Lxs;intermediary field_48219Lnet/minecraft/class_2873;field_48219:Lnet/minecraft/class_9139;named CODECLnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
-
slot
private final int slot- Mappings:
Namespace Name Mixin selector official bLago;b:Iintermediary field_13071Lnet/minecraft/class_2873;field_13071:Inamed slotLnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;slot:I
-
stack
- Mappings:
Namespace Name Mixin selector official cLago;c:Lcqm;intermediary field_13070Lnet/minecraft/class_2873;field_13070:Lnet/minecraft/class_1799;named stackLnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;stack:Lnet/minecraft/item/ItemStack;
-
-
Constructor Details
-
CreativeInventoryActionC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>Lago;<init>(ILcqm;)Vintermediary <init>Lnet/minecraft/class_2873;<init>(ILnet/minecraft/class_1799;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;<init>(ILnet/minecraft/item/ItemStack;)V
-
CreativeInventoryActionC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>Lago;<init>(Lvf;)Vintermediary <init>Lnet/minecraft/class_2873;<init>(Lnet/minecraft/class_9129;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;<init>(Lnet/minecraft/network/RegistryByteBuf;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector official aLago;a(Lvf;)Vintermediary method_55999Lnet/minecraft/class_2873;method_55999(Lnet/minecraft/class_9129;)Vnamed writeLnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;write(Lnet/minecraft/network/RegistryByteBuf;)V
-
getPacketId
- Specified by:
getPacketIdin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLyb;a()Lyd;intermediary method_55846Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;named getPacketIdLnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLago;a(Laez;)Vintermediary method_12480Lnet/minecraft/class_2873;method_12480(Lnet/minecraft/class_2792;)Vnamed applyLnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getSlot
public int getSlot()- Mappings:
Namespace Name Mixin selector official bLago;b()Iintermediary method_12481Lnet/minecraft/class_2873;method_12481()Inamed getSlotLnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;getSlot()I
-
getStack
- Mappings:
Namespace Name Mixin selector official eLago;e()Lcqm;intermediary method_12479Lnet/minecraft/class_2873;method_12479()Lnet/minecraft/class_1799;named getStackLnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;getStack()Lnet/minecraft/item/ItemStack;
-