Class LoginDisconnectS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.login.LoginDisconnectS2CPacket
All Implemented Interfaces:
Packet<ClientLoginPacketListener>

public class LoginDisconnectS2CPacket extends Object implements Packet<ClientLoginPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/login/LoginDisconnectS2CPacket
intermediary net/minecraft/class_2909
official ais
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/login/LoginDisconnectS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48237 Lnet/minecraft/class_2909;field_48237:Lnet/minecraft/class_9139;
      official a Lais;a:Lyw;
    • reason

      private final Text reason
      Mappings:
      Namespace Name Mixin selector
      named reason Lnet/minecraft/network/packet/s2c/login/LoginDisconnectS2CPacket;reason:Lnet/minecraft/text/Text;
      intermediary field_13243 Lnet/minecraft/class_2909;field_13243:Lnet/minecraft/class_2561;
      official b Lais;b:Lwy;
  • Constructor Details

    • LoginDisconnectS2CPacket

      public LoginDisconnectS2CPacket(Text reason)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/login/LoginDisconnectS2CPacket;<init>(Lnet/minecraft/text/Text;)V
      intermediary <init> Lnet/minecraft/class_2909;<init>(Lnet/minecraft/class_2561;)V
      official <init> Lais;<init>(Lwy;)V
    • LoginDisconnectS2CPacket

      private LoginDisconnectS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/login/LoginDisconnectS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2909;<init>(Lnet/minecraft/class_2540;)V
      official <init> Lais;<init>(Lvv;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/login/LoginDisconnectS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_56015 Lnet/minecraft/class_2909;method_56015(Lnet/minecraft/class_2540;)V
      official a Lais;a(Lvv;)V
    • getPacketId

      public PacketType<LoginDisconnectS2CPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ClientLoginPacketListener>
      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 Lzf;a()Lzh;
    • apply

      public void apply(ClientLoginPacketListener clientLoginPacketListener)
      Specified by:
      apply in interface Packet<ClientLoginPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/s2c/login/LoginDisconnectS2CPacket;apply(Lnet/minecraft/network/listener/ClientLoginPacketListener;)V
      intermediary method_12637 Lnet/minecraft/class_2909;method_12637(Lnet/minecraft/class_2896;)V
      official a Lais;a(Lain;)V
    • getReason

      public Text getReason()
      Mappings:
      Namespace Name Mixin selector
      named getReason Lnet/minecraft/network/packet/s2c/login/LoginDisconnectS2CPacket;getReason()Lnet/minecraft/text/Text;
      intermediary method_12638 Lnet/minecraft/class_2909;method_12638()Lnet/minecraft/class_2561;
      official b Lais;b()Lwy;