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

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

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

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