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/ClickSlotC2SPacketintermediary net/minecraft/class_2813official agx
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SlotActionTypeprivate final intstatic final PacketCodec<RegistryByteBuf, ClickSlotC2SPacket> private static final intprivate final Int2ObjectMap<ItemStack> private final intprivate final intprivate final ItemStackprivate static final PacketCodec<RegistryByteBuf, Int2ObjectMap<ItemStack>> private final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionClickSlotC2SPacket(int syncId, int revision, int slot, int button, SlotActionType actionType, ItemStack stack, Int2ObjectMap<ItemStack> modifiedStacks) private -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ServerPlayPacketListener serverPlayPacketListener) intintintgetSlot()getStack()intprivate voidwrite(RegistryByteBuf 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, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_48189Lnet/minecraft/class_2813;field_48189:Lnet/minecraft/class_9139;official aLagx;a:Lyx;
-
MAX_MODIFIED_STACKS
private static final int MAX_MODIFIED_STACKS- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_MODIFIED_STACKSLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;MAX_MODIFIED_STACKS:Iintermediary field_34045Lnet/minecraft/class_2813;field_34045:Iofficial bLagx;b:I
-
STACK_MAP_CODEC
- Mappings:
Namespace Name Mixin selector named STACK_MAP_CODECLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;STACK_MAP_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_48190Lnet/minecraft/class_2813;field_48190:Lnet/minecraft/class_9139;official cLagx;c:Lyx;
-
syncId
private final int syncId- Mappings:
Namespace Name Mixin selector named syncIdLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;syncId:Iintermediary field_12819Lnet/minecraft/class_2813;field_12819:Iofficial dLagx;d:I
-
revision
private final int revision- Mappings:
Namespace Name Mixin selector named revisionLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;revision:Iintermediary field_34037Lnet/minecraft/class_2813;field_34037:Iofficial eLagx;e:I
-
slot
private final int slot- Mappings:
Namespace Name Mixin selector named slotLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;slot:Iintermediary field_12818Lnet/minecraft/class_2813;field_12818:Iofficial fLagx;f:I
-
button
private final int button- Mappings:
Namespace Name Mixin selector named buttonLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;button:Iintermediary field_12817Lnet/minecraft/class_2813;field_12817:Iofficial gLagx;g:I
-
actionType
- Mappings:
Namespace Name Mixin selector named actionTypeLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;actionType:Lnet/minecraft/screen/slot/SlotActionType;intermediary field_12815Lnet/minecraft/class_2813;field_12815:Lnet/minecraft/class_1713;official hLagx;h:Lcqe;
-
stack
- Mappings:
Namespace Name Mixin selector named stackLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;stack:Lnet/minecraft/item/ItemStack;intermediary field_12816Lnet/minecraft/class_2813;field_12816:Lnet/minecraft/class_1799;official iLagx;i:Lcuq;
-
modifiedStacks
- Mappings:
Namespace Name Mixin selector named modifiedStacksLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;modifiedStacks:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;intermediary field_29540Lnet/minecraft/class_2813;field_29540:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;official jLagx;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;)Vintermediary <init>Lnet/minecraft/class_2813;<init>(IIIILnet/minecraft/class_1713;Lnet/minecraft/class_1799;Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;)Vofficial <init>Lagx;<init>(IIIILcqe;Lcuq;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;)Vintermediary <init>Lnet/minecraft/class_2813;<init>(Lnet/minecraft/class_9129;)Vofficial <init>Lagx;<init>(Lwk;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named writeLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;write(Lnet/minecraft/network/RegistryByteBuf;)Vintermediary method_55971Lnet/minecraft/class_2813;method_55971(Lnet/minecraft/class_9129;)Vofficial aLagx;a(Lwk;)V
-
getPacketId
- Specified by:
getPacketIdin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector named getPacketIdLnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;intermediary method_55846Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;official aLzg;a()Lzi;
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector named applyLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)Vintermediary method_12191Lnet/minecraft/class_2813;method_12191(Lnet/minecraft/class_2792;)Vofficial aLagx;a(Lagi;)V
-
getSyncId
public int getSyncId()- Mappings:
Namespace Name Mixin selector named getSyncIdLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getSyncId()Iintermediary method_12194Lnet/minecraft/class_2813;method_12194()Iofficial bLagx;b()I
-
getSlot
public int getSlot()- Mappings:
Namespace Name Mixin selector named getSlotLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getSlot()Iintermediary method_12192Lnet/minecraft/class_2813;method_12192()Iofficial eLagx;e()I
-
getButton
public int getButton()- Mappings:
Namespace Name Mixin selector named getButtonLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getButton()Iintermediary method_12193Lnet/minecraft/class_2813;method_12193()Iofficial fLagx;f()I
-
getStack
- Mappings:
Namespace Name Mixin selector named getStackLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getStack()Lnet/minecraft/item/ItemStack;intermediary method_12190Lnet/minecraft/class_2813;method_12190()Lnet/minecraft/class_1799;official gLagx;g()Lcuq;
-
getModifiedStacks
- Mappings:
Namespace Name Mixin selector named getModifiedStacksLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getModifiedStacks()Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;intermediary method_34678Lnet/minecraft/class_2813;method_34678()Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;official hLagx;h()Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
getActionType
- Mappings:
Namespace Name Mixin selector named getActionTypeLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getActionType()Lnet/minecraft/screen/slot/SlotActionType;intermediary method_12195Lnet/minecraft/class_2813;method_12195()Lnet/minecraft/class_1713;official iLagx;i()Lcqe;
-
getRevision
public int getRevision()- Mappings:
Namespace Name Mixin selector named getRevisionLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getRevision()Iintermediary method_37440Lnet/minecraft/class_2813;method_37440()Iofficial jLagx;j()I
-