Class ClickWindowC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.ClickWindowC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official ikintermediary net/minecraft/class_2059named net/minecraft/network/packet/c2s/play/ClickWindowC2SPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate ItemStackprivate intprivate intprivate short -
Constructor Summary
ConstructorsConstructorDescriptionClickWindowC2SPacket(int syncId, int slot, int button, int actionType, ItemStack selectedSlot, short transactionId) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ServerPlayPacketListener serverPlayPacketListener) intintintgetSlot()intshortvoidread(PacketByteBuf buf) voidwrite(PacketByteBuf buf)
-
Field Details
-
syncId
private int syncId- Mappings:
Namespace Name Mixin selector official aLik;a:Iintermediary field_8781Lnet/minecraft/class_2059;field_8781:Inamed syncIdLnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;syncId:I
-
slot
private int slot- Mappings:
Namespace Name Mixin selector official bLik;b:Iintermediary field_8782Lnet/minecraft/class_2059;field_8782:Inamed slotLnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;slot:I
-
button
private int button- Mappings:
Namespace Name Mixin selector official cLik;c:Iintermediary field_8783Lnet/minecraft/class_2059;field_8783:Inamed buttonLnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;button:I
-
transactionId
private short transactionId- Mappings:
Namespace Name Mixin selector official dLik;d:Sintermediary field_8784Lnet/minecraft/class_2059;field_8784:Snamed transactionIdLnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;transactionId:S
-
selectedStack
- Mappings:
Namespace Name Mixin selector official eLik;e:Lzx;intermediary field_8785Lnet/minecraft/class_2059;field_8785:Lnet/minecraft/class_1071;named selectedStackLnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;selectedStack:Lnet/minecraft/item/ItemStack;
-
actionType
private int actionType- Mappings:
Namespace Name Mixin selector official fLik;f:Iintermediary field_8786Lnet/minecraft/class_2059;field_8786:Inamed actionTypeLnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;actionType:I
-
-
Constructor Details
-
ClickWindowC2SPacket
public ClickWindowC2SPacket() -
ClickWindowC2SPacket
@Environment(CLIENT) public ClickWindowC2SPacket(int syncId, int slot, int button, int actionType, ItemStack selectedSlot, short transactionId) - Mappings:
Namespace Name Mixin selector official <init>Lik;<init>(IIIILzx;S)Vintermediary <init>Lnet/minecraft/class_2059;<init>(IIIILnet/minecraft/class_1071;S)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;<init>(IIIILnet/minecraft/item/ItemStack;S)V
-
-
Method Details
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLik;a(Lic;)Vintermediary method_7971Lnet/minecraft/class_2059;method_7971(Lnet/minecraft/class_2050;)Vnamed applyLnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
read
- Specified by:
readin interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLff;a(Lem;)Vintermediary method_7535Lnet/minecraft/class_700;method_7535(Lnet/minecraft/class_1967;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLff;b(Lem;)Vintermediary method_7539Lnet/minecraft/class_700;method_7539(Lnet/minecraft/class_1967;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
-
getSyncId
public int getSyncId()- Mappings:
Namespace Name Mixin selector official aLik;a()Iintermediary method_7972Lnet/minecraft/class_2059;method_7972()Inamed getSyncIdLnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;getSyncId()I
-
getSlot
public int getSlot()- Mappings:
Namespace Name Mixin selector official bLik;b()Iintermediary method_7973Lnet/minecraft/class_2059;method_7973()Inamed getSlotLnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;getSlot()I
-
getButton
public int getButton()- Mappings:
Namespace Name Mixin selector official cLik;c()Iintermediary method_7974Lnet/minecraft/class_2059;method_7974()Inamed getButtonLnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;getButton()I
-
getTransactionId
public short getTransactionId()- Mappings:
Namespace Name Mixin selector official dLik;d()Sintermediary method_7975Lnet/minecraft/class_2059;method_7975()Snamed getTransactionIdLnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;getTransactionId()S
-
getSelectedStack
- Mappings:
Namespace Name Mixin selector official eLik;e()Lzx;intermediary method_7976Lnet/minecraft/class_2059;method_7976()Lnet/minecraft/class_1071;named getSelectedStackLnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;getSelectedStack()Lnet/minecraft/item/ItemStack;
-
getActionType
public int getActionType()- Mappings:
Namespace Name Mixin selector official fLik;f()Iintermediary method_7977Lnet/minecraft/class_2059;method_7977()Inamed getActionTypeLnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;getActionType()I
-