Class ClickWindowC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.ClickWindowC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official iuintermediary net/minecraft/class_2059named net/minecraft/network/packet/c2s/play/ClickWindowC2SPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate ItemActionprivate ItemStackprivate intprivate intprivate short -
Constructor Summary
ConstructorsConstructorDescriptionClickWindowC2SPacket(int int2, int int3, int int4, ItemAction itemAction, ItemStack itemStack, short short2) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ServerPlayPacketListener serverPlayPacketListener) intintgetSlot()intshortvoidread(PacketByteBuf buf) voidwrite(PacketByteBuf buf)
-
Field Details
-
syncId
private int syncId- Mappings:
Namespace Name Mixin selector official aLiu;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 bLiu;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 cLiu;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 dLiu;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 eLiu;e:Lafj;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;
-
field_13798
- Mappings:
Namespace Name Mixin selector official fLiu;f:Lacq;intermediary field_13798Lnet/minecraft/class_2059;field_13798:Lnet/minecraft/class_2679;named field_13798Lnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;field_13798:Lnet/minecraft/util/ItemAction;
-
-
Constructor Details
-
ClickWindowC2SPacket
public ClickWindowC2SPacket() -
ClickWindowC2SPacket
@Environment(CLIENT) public ClickWindowC2SPacket(int int2, int int3, int int4, ItemAction itemAction, ItemStack itemStack, short short2)
-
-
Method Details
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLiu;a(Lim;)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 aLfm;a(Let;)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 bLfm;b(Let;)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 aLiu;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 bLiu;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 cLiu;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 dLiu;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 eLiu;e()Lafj;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;
-
method_7977
- Mappings:
Namespace Name Mixin selector official fLiu;f()Lacq;intermediary method_7977Lnet/minecraft/class_2059;method_7977()Lnet/minecraft/class_2679;named method_7977Lnet/minecraft/network/packet/c2s/play/ClickWindowC2SPacket;method_7977()Lnet/minecraft/util/ItemAction;
-