Class ClickSlotC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.ClickSlotC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official zointermediary net/minecraft/class_2813named net/minecraft/network/packet/c2s/play/ClickSlotC2SPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SlotActionTypeprivate final intprivate static final intprivate final Int2ObjectMap<ItemStack>private final intprivate final intprivate final ItemStackprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionClickSlotC2SPacket(int syncId, int revision, int slot, int button, SlotActionType actionType, ItemStack stack, Int2ObjectMap<ItemStack> modifiedStacks) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ServerPlayPacketListener serverPlayPacketListener) intintintgetSlot()getStack()intvoidwrite(PacketByteBuf 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
-
Field Details
-
MAX_MODIFIED_STACKS
private static final int MAX_MODIFIED_STACKS- See Also:
- Mappings:
Namespace Name Mixin selector official aLzo;a:Iintermediary field_34045Lnet/minecraft/class_2813;field_34045:Inamed MAX_MODIFIED_STACKSLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;MAX_MODIFIED_STACKS:I
-
syncId
private final int syncId- Mappings:
Namespace Name Mixin selector official bLzo;b:Iintermediary field_12819Lnet/minecraft/class_2813;field_12819:Inamed syncIdLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;syncId:I
-
revision
private final int revision- Mappings:
Namespace Name Mixin selector official cLzo;c:Iintermediary field_34037Lnet/minecraft/class_2813;field_34037:Inamed revisionLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;revision:I
-
slot
private final int slot- Mappings:
Namespace Name Mixin selector official dLzo;d:Iintermediary field_12818Lnet/minecraft/class_2813;field_12818:Inamed slotLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;slot:I
-
button
private final int button- Mappings:
Namespace Name Mixin selector official eLzo;e:Iintermediary field_12817Lnet/minecraft/class_2813;field_12817:Inamed buttonLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;button:I
-
actionType
- Mappings:
Namespace Name Mixin selector official fLzo;f:Lcbm;intermediary field_12815Lnet/minecraft/class_2813;field_12815:Lnet/minecraft/class_1713;named actionTypeLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;actionType:Lnet/minecraft/screen/slot/SlotActionType;
-
stack
- Mappings:
Namespace Name Mixin selector official gLzo;g:Lcfx;intermediary field_12816Lnet/minecraft/class_2813;field_12816:Lnet/minecraft/class_1799;named stackLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;stack:Lnet/minecraft/item/ItemStack;
-
modifiedStacks
- Mappings:
Namespace Name Mixin selector official hLzo;h:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;intermediary field_29540Lnet/minecraft/class_2813;field_29540:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;named modifiedStacksLnet/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>Lzo;<init>(IIIILcbm;Lcfx;Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;)Vintermediary <init>Lnet/minecraft/class_2813;<init>(IIIILnet/minecraft/class_1713;Lnet/minecraft/class_1799;Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;)Vnamed <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>Lzo;<init>(Lsf;)Vintermediary <init>Lnet/minecraft/class_2813;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLuo;a(Lsf;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLzo;a(Lzb;)Vintermediary method_12191Lnet/minecraft/class_2813;method_12191(Lnet/minecraft/class_2792;)Vnamed applyLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getSyncId
public int getSyncId()- Mappings:
Namespace Name Mixin selector official aLzo;a()Iintermediary method_12194Lnet/minecraft/class_2813;method_12194()Inamed getSyncIdLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getSyncId()I
-
getSlot
public int getSlot()- Mappings:
Namespace Name Mixin selector official cLzo;c()Iintermediary method_12192Lnet/minecraft/class_2813;method_12192()Inamed getSlotLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getSlot()I
-
getButton
public int getButton()- Mappings:
Namespace Name Mixin selector official dLzo;d()Iintermediary method_12193Lnet/minecraft/class_2813;method_12193()Inamed getButtonLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getButton()I
-
getStack
- Mappings:
Namespace Name Mixin selector official eLzo;e()Lcfx;intermediary method_12190Lnet/minecraft/class_2813;method_12190()Lnet/minecraft/class_1799;named getStackLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getStack()Lnet/minecraft/item/ItemStack;
-
getModifiedStacks
- Mappings:
Namespace Name Mixin selector official fLzo;f()Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;intermediary method_34678Lnet/minecraft/class_2813;method_34678()Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;named getModifiedStacksLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getModifiedStacks()Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
getActionType
- Mappings:
Namespace Name Mixin selector official gLzo;g()Lcbm;intermediary method_12195Lnet/minecraft/class_2813;method_12195()Lnet/minecraft/class_1713;named getActionTypeLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getActionType()Lnet/minecraft/screen/slot/SlotActionType;
-
getRevision
public int getRevision()- Mappings:
Namespace Name Mixin selector official hLzo;h()Iintermediary method_37440Lnet/minecraft/class_2813;method_37440()Inamed getRevisionLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getRevision()I
-