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 aho
intermediary net/minecraft/class_2873
named net/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, CreativeInventoryActionC2SPacket> private final int
private final ItemStack
-
Constructor Summary
ConstructorsModifierConstructorDescriptionCreativeInventoryActionC2SPacket
(int slot, ItemStack stack) private
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ServerPlayPacketListener serverPlayPacketListener) int
getSlot()
getStack()
private void
write
(RegistryByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Laho;a:Lys;
intermediary field_48219
Lnet/minecraft/class_2873;field_48219:Lnet/minecraft/class_9139;
named CODEC
Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
-
slot
private final int slot- Mappings:
Namespace Name Mixin selector official b
Laho;b:I
intermediary field_13071
Lnet/minecraft/class_2873;field_13071:I
named slot
Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;slot:I
-
stack
- Mappings:
Namespace Name Mixin selector official c
Laho;c:Lcsz;
intermediary field_13070
Lnet/minecraft/class_2873;field_13070:Lnet/minecraft/class_1799;
named stack
Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;stack:Lnet/minecraft/item/ItemStack;
-
-
Constructor Details
-
CreativeInventoryActionC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>
Laho;<init>(ILcsz;)V
intermediary <init>
Lnet/minecraft/class_2873;<init>(ILnet/minecraft/class_1799;)V
named <init>
Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;<init>(ILnet/minecraft/item/ItemStack;)V
-
CreativeInventoryActionC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>
Laho;<init>(Lwf;)V
intermediary <init>
Lnet/minecraft/class_2873;<init>(Lnet/minecraft/class_9129;)V
named <init>
Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;<init>(Lnet/minecraft/network/RegistryByteBuf;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector official a
Laho;a(Lwf;)V
intermediary method_55999
Lnet/minecraft/class_2873;method_55999(Lnet/minecraft/class_9129;)V
named write
Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;write(Lnet/minecraft/network/RegistryByteBuf;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lzb;a()Lzd;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
-
apply
- Specified by:
apply
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Laho;a(Lafz;)V
intermediary method_12480
Lnet/minecraft/class_2873;method_12480(Lnet/minecraft/class_2792;)V
named apply
Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getSlot
public int getSlot()- Mappings:
Namespace Name Mixin selector official b
Laho;b()I
intermediary method_12481
Lnet/minecraft/class_2873;method_12481()I
named getSlot
Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;getSlot()I
-
getStack
- Mappings:
Namespace Name Mixin selector official e
Laho;e()Lcsz;
intermediary method_12479
Lnet/minecraft/class_2873;method_12479()Lnet/minecraft/class_1799;
named getStack
Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;getStack()Lnet/minecraft/item/ItemStack;
-