Class ClientStatusC2SPacket

java.lang.Object
net.minecraft.network.packet.c2s.play.ClientStatusC2SPacket
All Implemented Interfaces:
Packet<ServerPlayPacketListener>

public class ClientStatusC2SPacket extends Object implements Packet<ServerPlayPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/c2s/play/ClientStatusC2SPacket
intermediary net/minecraft/class_2799
official agm
  • Field Details

    • CODEC

      public static final PacketCodec<PacketByteBuf,ClientStatusC2SPacket> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/c2s/play/ClientStatusC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48184 Lnet/minecraft/class_2799;field_48184:Lnet/minecraft/class_9139;
      official a Lagm;a:Lys;
    • mode

      private final ClientStatusC2SPacket.Mode mode
      Mappings:
      Namespace Name Mixin selector
      named mode Lnet/minecraft/network/packet/c2s/play/ClientStatusC2SPacket;mode:Lnet/minecraft/network/packet/c2s/play/ClientStatusC2SPacket$Mode;
      intermediary field_12773 Lnet/minecraft/class_2799;field_12773:Lnet/minecraft/class_2799$class_2800;
      official b Lagm;b:Lagm$a;
  • Constructor Details

    • ClientStatusC2SPacket

      public ClientStatusC2SPacket(ClientStatusC2SPacket.Mode mode)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/c2s/play/ClientStatusC2SPacket;<init>(Lnet/minecraft/network/packet/c2s/play/ClientStatusC2SPacket$Mode;)V
      intermediary <init> Lnet/minecraft/class_2799;<init>(Lnet/minecraft/class_2799$class_2800;)V
      official <init> Lagm;<init>(Lagm$a;)V
    • ClientStatusC2SPacket

      private ClientStatusC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/c2s/play/ClientStatusC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2799;<init>(Lnet/minecraft/class_2540;)V
      official <init> Lagm;<init>(Lvr;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/c2s/play/ClientStatusC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55968 Lnet/minecraft/class_2799;method_55968(Lnet/minecraft/class_2540;)V
      official a Lagm;a(Lvr;)V
    • getPacketId

      public PacketType<ClientStatusC2SPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      official a Lzb;a()Lzd;
    • apply

      public void apply(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/c2s/play/ClientStatusC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
      intermediary method_12120 Lnet/minecraft/class_2799;method_12120(Lnet/minecraft/class_2792;)V
      official a Lagm;a(Lagb;)V
    • getMode

      public ClientStatusC2SPacket.Mode getMode()
      Mappings:
      Namespace Name Mixin selector
      named getMode Lnet/minecraft/network/packet/c2s/play/ClientStatusC2SPacket;getMode()Lnet/minecraft/network/packet/c2s/play/ClientStatusC2SPacket$Mode;
      intermediary method_12119 Lnet/minecraft/class_2799;method_12119()Lnet/minecraft/class_2799$class_2800;
      official b Lagm;b()Lagm$a;