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 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

      public void apply​(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<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

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<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

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<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

      @Environment(CLIENT) public int 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

      @Environment(CLIENT) public short 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

      @Environment(CLIENT) public boolean 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