Class ClickSlotC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.ClickSlotC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
public class ClickSlotC2SPacket extends Object implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official tointermediary net/minecraft/class_2813named net/minecraft/network/packet/c2s/play/ClickSlotC2SPacket
-
Field Summary
Fields Modifier and Type Field Description private shortactionIdprivate SlotActionTypeactionTypeprivate intclickDataprivate intslotprivate ItemStackstackprivate intsyncId -
Constructor Summary
Constructors Constructor Description ClickSlotC2SPacket(int syncId, int slot, int clickData, SlotActionType actionType, ItemStack stack, short actionId)ClickSlotC2SPacket(PacketByteBuf packetByteBuf) -
Method Summary
Modifier and Type Method Description voidapply(ServerPlayPacketListener serverPlayPacketListener)shortgetActionId()SlotActionTypegetActionType()intgetClickData()intgetSlot()ItemStackgetStack()intgetSyncId()voidwrite(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
isWritingErrorSkippable
-
Field Details
-
syncId
private final int syncId- Mappings:
Namespace Name Mixin selector official aLto;a:Iintermediary field_12819Lnet/minecraft/class_2813;field_12819:Inamed syncIdLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;syncId:I
-
slot
private final int slot- Mappings:
Namespace Name Mixin selector official bLto;b:Iintermediary field_12818Lnet/minecraft/class_2813;field_12818:Inamed slotLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;slot:I
-
clickData
private final int clickData- Mappings:
Namespace Name Mixin selector official cLto;c:Iintermediary field_12817Lnet/minecraft/class_2813;field_12817:Inamed clickDataLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;clickData:I
-
actionId
private final short actionId- Mappings:
Namespace Name Mixin selector official dLto;d:Sintermediary field_12820Lnet/minecraft/class_2813;field_12820:Snamed actionIdLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;actionId:S
-
stack
- Mappings:
Namespace Name Mixin selector official eLto;e:Lboo;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;
-
actionType
- Mappings:
Namespace Name Mixin selector official fLto;f:Lbkt;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;
-
-
Constructor Details
-
ClickSlotC2SPacket
@Environment(CLIENT) public ClickSlotC2SPacket(int syncId, int slot, int clickData, SlotActionType actionType, ItemStack stack, short actionId)- Mappings:
Namespace Name Mixin selector official <init>Lto;<init>(IIILbkt;Lboo;S)Vintermediary <init>Lnet/minecraft/class_2813;<init>(IIILnet/minecraft/class_1713;Lnet/minecraft/class_1799;S)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;<init>(IIILnet/minecraft/screen/slot/SlotActionType;Lnet/minecraft/item/ItemStack;S)V
-
ClickSlotC2SPacket
-
-
Method Details
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLto;a(Lte;)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
-
write
- Specified by:
writein interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLpb;a(Lnx;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getSyncId
public int getSyncId()- Mappings:
Namespace Name Mixin selector official bLto;b()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 cLto;c()Iintermediary method_12192Lnet/minecraft/class_2813;method_12192()Inamed getSlotLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getSlot()I
-
getClickData
public int getClickData()- Mappings:
Namespace Name Mixin selector official dLto;d()Iintermediary method_12193Lnet/minecraft/class_2813;method_12193()Inamed getClickDataLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getClickData()I
-
getActionId
public short getActionId()- Mappings:
Namespace Name Mixin selector official eLto;e()Sintermediary method_12189Lnet/minecraft/class_2813;method_12189()Snamed getActionIdLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getActionId()S
-
getStack
- Mappings:
Namespace Name Mixin selector official fLto;f()Lboo;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;
-
getActionType
- Mappings:
Namespace Name Mixin selector official gLto;g()Lbkt;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;
-