Class ConfirmGuiActionC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.ConfirmGuiActionC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
public class ConfirmGuiActionC2SPacket extends Object implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official iiintermediary net/minecraft/class_1556named net/minecraft/network/packet/c2s/play/ConfirmGuiActionC2SPacket
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ConfirmGuiActionC2SPacket()ConfirmGuiActionC2SPacket(int windowId, short actionId, boolean accepted) -
Method Summary
Modifier and Type Method Description voidapply(ServerPlayPacketListener serverPlayPacketListener)shortgetSyncId()intgetWindowId()voidread(PacketByteBuf buf)voidwrite(PacketByteBuf buf)
-
Field Details
-
windowId
private int windowId- Mappings:
Namespace Name Mixin selector official aLii;a:Iintermediary field_6391Lnet/minecraft/class_1556;field_6391:Inamed windowIdLnet/minecraft/network/packet/c2s/play/ConfirmGuiActionC2SPacket;windowId:I
-
actionId
private short actionId- Mappings:
Namespace Name Mixin selector official bLii;b:Sintermediary field_6392Lnet/minecraft/class_1556;field_6392:Snamed actionIdLnet/minecraft/network/packet/c2s/play/ConfirmGuiActionC2SPacket;actionId:S
-
accepted
private boolean accepted- Mappings:
Namespace Name Mixin selector official cLii;c:Zintermediary field_6393Lnet/minecraft/class_1556;field_6393:Znamed acceptedLnet/minecraft/network/packet/c2s/play/ConfirmGuiActionC2SPacket;accepted:Z
-
-
Constructor Details
-
ConfirmGuiActionC2SPacket
public ConfirmGuiActionC2SPacket() -
ConfirmGuiActionC2SPacket
@Environment(CLIENT) public ConfirmGuiActionC2SPacket(int windowId, short actionId, boolean accepted)- Mappings:
Namespace Name Mixin selector official <init>Lii;<init>(ISZ)Vintermediary <init>Lnet/minecraft/class_1556;<init>(ISZ)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/ConfirmGuiActionC2SPacket;<init>(ISZ)V
-
-
Method Details
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLii;a(Lic;)Vintermediary method_5748Lnet/minecraft/class_1556;method_5748(Lnet/minecraft/class_1550;)Vnamed applyLnet/minecraft/network/packet/c2s/play/ConfirmGuiActionC2SPacket;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_5238Lnet/minecraft/class_1457;method_5238(Lnet/minecraft/class_1435;)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_5240Lnet/minecraft/class_1457;method_5240(Lnet/minecraft/class_1435;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
-
getWindowId
public int getWindowId()- Mappings:
Namespace Name Mixin selector official aLii;a()Iintermediary method_5747Lnet/minecraft/class_1556;method_5747()Inamed getWindowIdLnet/minecraft/network/packet/c2s/play/ConfirmGuiActionC2SPacket;getWindowId()I
-
getSyncId
public short getSyncId()- Mappings:
Namespace Name Mixin selector official bLii;b()Sintermediary method_5749Lnet/minecraft/class_1556;method_5749()Snamed getSyncIdLnet/minecraft/network/packet/c2s/play/ConfirmGuiActionC2SPacket;getSyncId()S
-