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 named net/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket
intermediary net/minecraft/class_2873
official aht
-
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 named CODEC
Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_48219
Lnet/minecraft/class_2873;field_48219:Lnet/minecraft/class_9139;
official a
Laht;a:Lyv;
-
slot
private final int slot- Mappings:
Namespace Name Mixin selector named slot
Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;slot:I
intermediary field_13071
Lnet/minecraft/class_2873;field_13071:I
official b
Laht;b:I
-
stack
- Mappings:
Namespace Name Mixin selector named stack
Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;stack:Lnet/minecraft/item/ItemStack;
intermediary field_13070
Lnet/minecraft/class_2873;field_13070:Lnet/minecraft/class_1799;
official c
Laht;c:Lcto;
-
-
Constructor Details
-
CreativeInventoryActionC2SPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;<init>(ILnet/minecraft/item/ItemStack;)V
intermediary <init>
Lnet/minecraft/class_2873;<init>(ILnet/minecraft/class_1799;)V
official <init>
Laht;<init>(ILcto;)V
-
CreativeInventoryActionC2SPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;<init>(Lnet/minecraft/network/RegistryByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2873;<init>(Lnet/minecraft/class_9129;)V
official <init>
Laht;<init>(Lwi;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;write(Lnet/minecraft/network/RegistryByteBuf;)V
intermediary method_55999
Lnet/minecraft/class_2873;method_55999(Lnet/minecraft/class_9129;)V
official a
Laht;a(Lwi;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
official a
Lze;a()Lzg;
-
apply
- Specified by:
apply
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
intermediary method_12480
Lnet/minecraft/class_2873;method_12480(Lnet/minecraft/class_2792;)V
official a
Laht;a(Lagd;)V
-
getSlot
public int getSlot()- Mappings:
Namespace Name Mixin selector named getSlot
Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;getSlot()I
intermediary method_12481
Lnet/minecraft/class_2873;method_12481()I
official b
Laht;b()I
-
getStack
- Mappings:
Namespace Name Mixin selector named getStack
Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;getStack()Lnet/minecraft/item/ItemStack;
intermediary method_12479
Lnet/minecraft/class_2873;method_12479()Lnet/minecraft/class_1799;
official e
Laht;e()Lcto;
-