Class RealmsError

java.lang.Object
net.minecraft.client.realms.RealmsError

@Environment(CLIENT) public class RealmsError extends Object
Mappings:
Namespace Name
official dsn
intermediary net/minecraft/class_4345
named net/minecraft/client/realms/RealmsError
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Ldsn;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_19593 Lnet/minecraft/class_4345;field_19593:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/realms/RealmsError;LOGGER:Lorg/apache/logging/log4j/Logger;
    • errorMessage

      private final String errorMessage
      Mappings:
      Namespace Name Mixin selector
      official b Ldsn;b:Ljava/lang/String;
      intermediary field_19594 Lnet/minecraft/class_4345;field_19594:Ljava/lang/String;
      named errorMessage Lnet/minecraft/client/realms/RealmsError;errorMessage:Ljava/lang/String;
    • errorCode

      private final int errorCode
      Mappings:
      Namespace Name Mixin selector
      official c Ldsn;c:I
      intermediary field_19595 Lnet/minecraft/class_4345;field_19595:I
      named errorCode Lnet/minecraft/client/realms/RealmsError;errorCode:I
  • Constructor Details

    • RealmsError

      private RealmsError(String errorMessage, int errorCode)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldsn;<init>(Ljava/lang/String;I)V
      intermediary <init> Lnet/minecraft/class_4345;<init>(Ljava/lang/String;I)V
      named <init> Lnet/minecraft/client/realms/RealmsError;<init>(Ljava/lang/String;I)V
  • Method Details

    • create

      public static RealmsError create(String error)
      Mappings:
      Namespace Name Mixin selector
      official a Ldsn;a(Ljava/lang/String;)Ldsn;
      intermediary method_30162 Lnet/minecraft/class_4345;method_30162(Ljava/lang/String;)Lnet/minecraft/class_4345;
      named create Lnet/minecraft/client/realms/RealmsError;create(Ljava/lang/String;)Lnet/minecraft/client/realms/RealmsError;
    • getErrorMessage

      public String getErrorMessage()
      Mappings:
      Namespace Name Mixin selector
      official a Ldsn;a()Ljava/lang/String;
      intermediary method_21036 Lnet/minecraft/class_4345;method_21036()Ljava/lang/String;
      named getErrorMessage Lnet/minecraft/client/realms/RealmsError;getErrorMessage()Ljava/lang/String;
    • getErrorCode

      public int getErrorCode()
      Mappings:
      Namespace Name Mixin selector
      official b Ldsn;b()I
      intermediary method_21037 Lnet/minecraft/class_4345;method_21037()I
      named getErrorCode Lnet/minecraft/client/realms/RealmsError;getErrorCode()I