Class ConfirmScreenActionC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.ConfirmScreenActionC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
public class ConfirmScreenActionC2SPacket extends Object implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official ta
intermediary net/minecraft/class_2809
named net/minecraft/network/packet/c2s/play/ConfirmScreenActionC2SPacket
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ConfirmScreenActionC2SPacket()
ConfirmScreenActionC2SPacket(int syncId, short actionId, boolean accepted)
-
Method Summary
Modifier and Type Method Description void
apply(ServerPlayPacketListener serverPlayPacketListener)
short
getActionId()
int
getSyncId()
void
read(PacketByteBuf buf)
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
Lta;a:I
intermediary field_12811
Lnet/minecraft/class_2809;field_12811:I
named syncId
Lnet/minecraft/network/packet/c2s/play/ConfirmScreenActionC2SPacket;syncId:I
-
actionId
private short actionId- Mappings:
Namespace Name Mixin selector official b
Lta;b:S
intermediary field_12809
Lnet/minecraft/class_2809;field_12809:S
named actionId
Lnet/minecraft/network/packet/c2s/play/ConfirmScreenActionC2SPacket;actionId:S
-
accepted
private boolean accepted- Mappings:
Namespace Name Mixin selector official c
Lta;c:Z
intermediary field_12810
Lnet/minecraft/class_2809;field_12810:Z
named accepted
Lnet/minecraft/network/packet/c2s/play/ConfirmScreenActionC2SPacket;accepted:Z
-
-
Constructor Details
-
ConfirmScreenActionC2SPacket
public ConfirmScreenActionC2SPacket() -
ConfirmScreenActionC2SPacket
@Environment(CLIENT) public ConfirmScreenActionC2SPacket(int syncId, short actionId, boolean accepted)- Mappings:
Namespace Name Mixin selector official <init>
Lta;<init>(ISZ)V
intermediary <init>
Lnet/minecraft/class_2809;<init>(ISZ)V
named <init>
Lnet/minecraft/network/packet/c2s/play/ConfirmScreenActionC2SPacket;<init>(ISZ)V
-
-
Method Details
-
apply
- Specified by:
apply
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lta;a(Lss;)V
intermediary method_12177
Lnet/minecraft/class_2809;method_12177(Lnet/minecraft/class_2792;)V
named apply
Lnet/minecraft/network/packet/c2s/play/ConfirmScreenActionC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
read
- Specified by:
read
in interfacePacket<ServerPlayPacketListener>
- 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<ServerPlayPacketListener>
- 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
public int getSyncId()- Mappings:
Namespace Name Mixin selector official b
Lta;b()I
intermediary method_12178
Lnet/minecraft/class_2809;method_12178()I
named getSyncId
Lnet/minecraft/network/packet/c2s/play/ConfirmScreenActionC2SPacket;getSyncId()I
-
getActionId
public short getActionId()- Mappings:
Namespace Name Mixin selector official c
Lta;c()S
intermediary method_12176
Lnet/minecraft/class_2809;method_12176()S
named getActionId
Lnet/minecraft/network/packet/c2s/play/ConfirmScreenActionC2SPacket;getActionId()S
-