Class RealmsError

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

@Environment(CLIENT) public class RealmsError extends Object
Mappings:
Namespace Name
official ehv
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 Lehv;a:Lorg/slf4j/Logger;
      intermediary field_19593 Lnet/minecraft/class_4345;field_19593:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/realms/RealmsError;LOGGER:Lorg/slf4j/Logger;
    • errorMessage

      private final String errorMessage
      Mappings:
      Namespace Name Mixin selector
      official b Lehv;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 Lehv;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> Lehv;<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

      @Nullable public static @Nullable RealmsError create(String error)
      Mappings:
      Namespace Name Mixin selector
      official a Lehv;a(Ljava/lang/String;)Lehv;
      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 Lehv;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 Lehv;b()I
      intermediary method_21037 Lnet/minecraft/class_4345;method_21037()I
      named getErrorCode Lnet/minecraft/client/realms/RealmsError;getErrorCode()I