Class ConfirmScreenActionS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.ConfirmScreenActionS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class ConfirmScreenActionS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official pw
intermediary net/minecraft/class_2644
named net/minecraft/network/packet/s2c/play/ConfirmScreenActionS2CPacket
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ConfirmScreenActionS2CPacket()
ConfirmScreenActionS2CPacket(int syncId, short actionId, boolean accepted)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
short
getActionId()
int
getSyncId()
void
read(PacketByteBuf buf)
boolean
wasAccepted()
void
write(PacketByteBuf buf)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
syncId
private int syncId- Mappings:
Namespace Name Mixin selector official a
Lpw;a:I
intermediary field_12136
Lnet/minecraft/class_2644;field_12136:I
named syncId
Lnet/minecraft/network/packet/s2c/play/ConfirmScreenActionS2CPacket;syncId:I
-
actionId
private short actionId- Mappings:
Namespace Name Mixin selector official b
Lpw;b:S
intermediary field_12134
Lnet/minecraft/class_2644;field_12134:S
named actionId
Lnet/minecraft/network/packet/s2c/play/ConfirmScreenActionS2CPacket;actionId:S
-
accepted
private boolean accepted- Mappings:
Namespace Name Mixin selector official c
Lpw;c:Z
intermediary field_12135
Lnet/minecraft/class_2644;field_12135:Z
named accepted
Lnet/minecraft/network/packet/s2c/play/ConfirmScreenActionS2CPacket;accepted:Z
-
-
Constructor Details
-
ConfirmScreenActionS2CPacket
public ConfirmScreenActionS2CPacket() -
ConfirmScreenActionS2CPacket
public ConfirmScreenActionS2CPacket(int syncId, short actionId, boolean accepted)- Mappings:
Namespace Name Mixin selector official <init>
Lpw;<init>(ISZ)V
intermediary <init>
Lnet/minecraft/class_2644;<init>(ISZ)V
named <init>
Lnet/minecraft/network/packet/s2c/play/ConfirmScreenActionS2CPacket;<init>(ISZ)V
-
-
Method Details
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lpw;a(Lpd;)V
intermediary method_11424
Lnet/minecraft/class_2644;method_11424(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/ConfirmScreenActionS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getSyncId
- Mappings:
Namespace Name Mixin selector official b
Lpw;b()I
intermediary method_11425
Lnet/minecraft/class_2644;method_11425()I
named getSyncId
Lnet/minecraft/network/packet/s2c/play/ConfirmScreenActionS2CPacket;getSyncId()I
-
getActionId
- Mappings:
Namespace Name Mixin selector official c
Lpw;c()S
intermediary method_11423
Lnet/minecraft/class_2644;method_11423()S
named getActionId
Lnet/minecraft/network/packet/s2c/play/ConfirmScreenActionS2CPacket;getActionId()S
-
wasAccepted
- Mappings:
Namespace Name Mixin selector official d
Lpw;d()Z
intermediary method_11426
Lnet/minecraft/class_2644;method_11426()Z
named wasAccepted
Lnet/minecraft/network/packet/s2c/play/ConfirmScreenActionS2CPacket;wasAccepted()Z
-