Class ClickSlotC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.ClickSlotC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/c2s/play/ClickSlotC2SPacket
intermediary net/minecraft/class_2813
official ahl
-
Field Summary
Modifier and TypeFieldDescriptionprivate final SlotActionType
private final int
static final PacketCodec
<RegistryByteBuf, ClickSlotC2SPacket> private static final int
private final Int2ObjectMap
<ItemStack> private final int
private final int
private final ItemStack
private static final PacketCodec
<RegistryByteBuf, Int2ObjectMap<ItemStack>> private final int
-
Constructor Summary
ModifierConstructorDescriptionClickSlotC2SPacket
(int syncId, int revision, int slot, int button, SlotActionType actionType, ItemStack stack, Int2ObjectMap<ItemStack> modifiedStacks) private
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ServerPlayPacketListener serverPlayPacketListener) int
int
int
getSlot()
getStack()
int
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/ClickSlotC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_48189
Lnet/minecraft/class_2813;field_48189:Lnet/minecraft/class_9139;
official a
Lahl;a:Lzn;
-
MAX_MODIFIED_STACKS
private static final int MAX_MODIFIED_STACKS- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_MODIFIED_STACKS
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;MAX_MODIFIED_STACKS:I
intermediary field_34045
Lnet/minecraft/class_2813;field_34045:I
official b
Lahl;b:I
-
STACK_MAP_CODEC
- Mappings:
Namespace Name Mixin selector named STACK_MAP_CODEC
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;STACK_MAP_CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_48190
Lnet/minecraft/class_2813;field_48190:Lnet/minecraft/class_9139;
official c
Lahl;c:Lzn;
-
syncId
private final int syncId- Mappings:
Namespace Name Mixin selector named syncId
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;syncId:I
intermediary field_12819
Lnet/minecraft/class_2813;field_12819:I
official d
Lahl;d:I
-
revision
private final int revision- Mappings:
Namespace Name Mixin selector named revision
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;revision:I
intermediary field_34037
Lnet/minecraft/class_2813;field_34037:I
official e
Lahl;e:I
-
slot
private final int slot- Mappings:
Namespace Name Mixin selector named slot
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;slot:I
intermediary field_12818
Lnet/minecraft/class_2813;field_12818:I
official f
Lahl;f:I
-
button
private final int button- Mappings:
Namespace Name Mixin selector named button
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;button:I
intermediary field_12817
Lnet/minecraft/class_2813;field_12817:I
official g
Lahl;g:I
-
actionType
- Mappings:
Namespace Name Mixin selector named actionType
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;actionType:Lnet/minecraft/screen/slot/SlotActionType;
intermediary field_12815
Lnet/minecraft/class_2813;field_12815:Lnet/minecraft/class_1713;
official h
Lahl;h:Lcqf;
-
stack
- Mappings:
Namespace Name Mixin selector named stack
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;stack:Lnet/minecraft/item/ItemStack;
intermediary field_12816
Lnet/minecraft/class_2813;field_12816:Lnet/minecraft/class_1799;
official i
Lahl;i:Lcur;
-
modifiedStacks
- Mappings:
Namespace Name Mixin selector named modifiedStacks
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;modifiedStacks:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
intermediary field_29540
Lnet/minecraft/class_2813;field_29540:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
official j
Lahl;j:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
-
Constructor Details
-
ClickSlotC2SPacket
public ClickSlotC2SPacket(int syncId, int revision, int slot, int button, SlotActionType actionType, ItemStack stack, Int2ObjectMap<ItemStack> modifiedStacks) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;<init>(IIIILnet/minecraft/screen/slot/SlotActionType;Lnet/minecraft/item/ItemStack;Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;)V
intermediary <init>
Lnet/minecraft/class_2813;<init>(IIIILnet/minecraft/class_1713;Lnet/minecraft/class_1799;Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;)V
official <init>
Lahl;<init>(IIIILcqf;Lcur;Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;)V
-
ClickSlotC2SPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;<init>(Lnet/minecraft/network/RegistryByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2813;<init>(Lnet/minecraft/class_9129;)V
official <init>
Lahl;<init>(Lxa;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;write(Lnet/minecraft/network/RegistryByteBuf;)V
intermediary method_55971
Lnet/minecraft/class_2813;method_55971(Lnet/minecraft/class_9129;)V
official a
Lahl;a(Lxa;)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
Lzw;a()Lzy;
-
apply
- Specified by:
apply
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
intermediary method_12191
Lnet/minecraft/class_2813;method_12191(Lnet/minecraft/class_2792;)V
official a
Lahl;a(Lagw;)V
-
getSyncId
public int getSyncId()- Mappings:
Namespace Name Mixin selector named getSyncId
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getSyncId()I
intermediary method_12194
Lnet/minecraft/class_2813;method_12194()I
official b
Lahl;b()I
-
getSlot
public int getSlot()- Mappings:
Namespace Name Mixin selector named getSlot
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getSlot()I
intermediary method_12192
Lnet/minecraft/class_2813;method_12192()I
official e
Lahl;e()I
-
getButton
public int getButton()- Mappings:
Namespace Name Mixin selector named getButton
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getButton()I
intermediary method_12193
Lnet/minecraft/class_2813;method_12193()I
official f
Lahl;f()I
-
getStack
- Mappings:
Namespace Name Mixin selector named getStack
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getStack()Lnet/minecraft/item/ItemStack;
intermediary method_12190
Lnet/minecraft/class_2813;method_12190()Lnet/minecraft/class_1799;
official g
Lahl;g()Lcur;
-
getModifiedStacks
- Mappings:
Namespace Name Mixin selector named getModifiedStacks
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getModifiedStacks()Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
intermediary method_34678
Lnet/minecraft/class_2813;method_34678()Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
official h
Lahl;h()Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
getActionType
- Mappings:
Namespace Name Mixin selector named getActionType
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getActionType()Lnet/minecraft/screen/slot/SlotActionType;
intermediary method_12195
Lnet/minecraft/class_2813;method_12195()Lnet/minecraft/class_1713;
official i
Lahl;i()Lcqf;
-
getRevision
public int getRevision()- Mappings:
Namespace Name Mixin selector named getRevision
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getRevision()I
intermediary method_37440
Lnet/minecraft/class_2813;method_37440()I
official j
Lahl;j()I
-