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
official jj
intermediary net/minecraft/class_1589
named net/minecraft/network/packet/s2c/login/LoginDisconnectS2CPacket
  • Field Details

    • reason

      private Text reason
      Mappings:
      Namespace Name Mixin selector
      official a Ljj;a:Leu;
      intermediary field_6484 Lnet/minecraft/class_1589;field_6484:Lnet/minecraft/class_1444;
      named reason Lnet/minecraft/network/packet/s2c/login/LoginDisconnectS2CPacket;reason:Lnet/minecraft/text/Text;
  • Constructor Details

    • LoginDisconnectS2CPacket

      public LoginDisconnectS2CPacket()
    • LoginDisconnectS2CPacket

      public LoginDisconnectS2CPacket​(Text reason)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ljj;<init>(Leu;)V
      intermediary <init> Lnet/minecraft/class_1589;<init>(Lnet/minecraft/class_1444;)V
      named <init> Lnet/minecraft/network/packet/s2c/login/LoginDisconnectS2CPacket;<init>(Lnet/minecraft/text/Text;)V
  • Method Details

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientLoginPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lff;a(Lem;)V
      intermediary method_5238 Lnet/minecraft/class_1457;method_5238(Lnet/minecraft/class_1435;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
    • write

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientLoginPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lff;b(Lem;)V
      intermediary method_5240 Lnet/minecraft/class_1457;method_5240(Lnet/minecraft/class_1435;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
    • apply

      public void apply​(ClientLoginPacketListener clientLoginPacketListener)
      Specified by:
      apply in interface Packet<ClientLoginPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Ljj;a(Ljf;)V
      intermediary method_5843 Lnet/minecraft/class_1589;method_5843(Lnet/minecraft/class_1585;)V
      named apply Lnet/minecraft/network/packet/s2c/login/LoginDisconnectS2CPacket;apply(Lnet/minecraft/network/listener/ClientLoginPacketListener;)V
    • getReason

      @Environment(CLIENT) public Text getReason()
      Mappings:
      Namespace Name Mixin selector
      official a Ljj;a()Leu;
      intermediary method_5842 Lnet/minecraft/class_1589;method_5842()Lnet/minecraft/class_1444;
      named getReason Lnet/minecraft/network/packet/s2c/login/LoginDisconnectS2CPacket;getReason()Lnet/minecraft/text/Text;