Class ClickSlotC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.ClickSlotC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official xz
intermediary net/minecraft/class_2813
named net/minecraft/network/packet/c2s/play/ClickSlotC2SPacket
-
Field Summary
Modifier and TypeFieldDescriptionprivate final SlotActionType
private final int
private static final int
private final Int2ObjectMap<ItemStack>
private final int
private final int
private final ItemStack
private final int
-
Constructor Summary
ConstructorDescriptionClickSlotC2SPacket
(int syncId, int revision, int slot, int button, SlotActionType actionType, ItemStack stack, Int2ObjectMap<ItemStack> modifiedStacks) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ServerPlayPacketListener serverPlayPacketListener) int
int
int
getSlot()
getStack()
int
void
write
(PacketByteBuf 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
isWritingErrorSkippable
-
Field Details
-
MAX_MODIFIED_STACKS
private static final int MAX_MODIFIED_STACKS- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lxz;a:I
intermediary field_34045
Lnet/minecraft/class_2813;field_34045:I
named MAX_MODIFIED_STACKS
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;MAX_MODIFIED_STACKS:I
-
syncId
private final int syncId- Mappings:
Namespace Name Mixin selector official b
Lxz;b:I
intermediary field_12819
Lnet/minecraft/class_2813;field_12819:I
named syncId
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;syncId:I
-
revision
private final int revision- Mappings:
Namespace Name Mixin selector official c
Lxz;c:I
intermediary field_34037
Lnet/minecraft/class_2813;field_34037:I
named revision
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;revision:I
-
slot
private final int slot- Mappings:
Namespace Name Mixin selector official d
Lxz;d:I
intermediary field_12818
Lnet/minecraft/class_2813;field_12818:I
named slot
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;slot:I
-
button
private final int button- Mappings:
Namespace Name Mixin selector official e
Lxz;e:I
intermediary field_12817
Lnet/minecraft/class_2813;field_12817:I
named button
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;button:I
-
actionType
- Mappings:
Namespace Name Mixin selector official f
Lxz;f:Lbwv;
intermediary field_12815
Lnet/minecraft/class_2813;field_12815:Lnet/minecraft/class_1713;
named actionType
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;actionType:Lnet/minecraft/screen/slot/SlotActionType;
-
stack
- Mappings:
Namespace Name Mixin selector official g
Lxz;g:Lcax;
intermediary field_12816
Lnet/minecraft/class_2813;field_12816:Lnet/minecraft/class_1799;
named stack
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;stack:Lnet/minecraft/item/ItemStack;
-
modifiedStacks
- Mappings:
Namespace Name Mixin selector official h
Lxz;h:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
intermediary field_29540
Lnet/minecraft/class_2813;field_29540:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
named modifiedStacks
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;modifiedStacks: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 official <init>
Lxz;<init>(IIIILbwv;Lcax;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
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
-
ClickSlotC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lxz;<init>(Lqx;)V
intermediary <init>
Lnet/minecraft/class_2813;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Ltc;a(Lqx;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lxz;a(Lxm;)V
intermediary method_12191
Lnet/minecraft/class_2813;method_12191(Lnet/minecraft/class_2792;)V
named apply
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getSyncId
public int getSyncId()- Mappings:
Namespace Name Mixin selector official b
Lxz;b()I
intermediary method_12194
Lnet/minecraft/class_2813;method_12194()I
named getSyncId
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getSyncId()I
-
getSlot
public int getSlot()- Mappings:
Namespace Name Mixin selector official c
Lxz;c()I
intermediary method_12192
Lnet/minecraft/class_2813;method_12192()I
named getSlot
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getSlot()I
-
getButton
public int getButton()- Mappings:
Namespace Name Mixin selector official d
Lxz;d()I
intermediary method_12193
Lnet/minecraft/class_2813;method_12193()I
named getButton
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getButton()I
-
getStack
- Mappings:
Namespace Name Mixin selector official e
Lxz;e()Lcax;
intermediary method_12190
Lnet/minecraft/class_2813;method_12190()Lnet/minecraft/class_1799;
named getStack
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getStack()Lnet/minecraft/item/ItemStack;
-
getModifiedStacks
- Mappings:
Namespace Name Mixin selector official f
Lxz;f()Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
intermediary method_34678
Lnet/minecraft/class_2813;method_34678()Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
named getModifiedStacks
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getModifiedStacks()Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
getActionType
- Mappings:
Namespace Name Mixin selector official g
Lxz;g()Lbwv;
intermediary method_12195
Lnet/minecraft/class_2813;method_12195()Lnet/minecraft/class_1713;
named getActionType
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getActionType()Lnet/minecraft/screen/slot/SlotActionType;
-
getRevision
public int getRevision()- Mappings:
Namespace Name Mixin selector official h
Lxz;h()I
intermediary method_37440
Lnet/minecraft/class_2813;method_37440()I
named getRevision
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getRevision()I
-