Package net.minecraft.client.realms
Class RealmsError
java.lang.Object
net.minecraft.client.realms.RealmsError
@Environment(CLIENT) public class RealmsError extends Object
- Mappings:
Namespace Name official dmi
intermediary net/minecraft/class_4345
named net/minecraft/client/realms/RealmsError
-
Field Summary
Fields Modifier and Type Field Description private int
errorCode
private String
errorMessage
private static Logger
LOGGER
-
Constructor Summary
Constructors Modifier Constructor Description private
RealmsError(String errorMessage, int errorCode)
-
Method Summary
Modifier and Type Method Description static RealmsError
create(String error)
int
getErrorCode()
String
getErrorMessage()
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Ldmi;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
- Mappings:
Namespace Name Mixin selector official b
Ldmi;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
Ldmi;c:I
intermediary field_19595
Lnet/minecraft/class_4345;field_19595:I
named errorCode
Lnet/minecraft/client/realms/RealmsError;errorCode:I
-
-
Constructor Details
-
RealmsError
- Mappings:
Namespace Name Mixin selector official <init>
Ldmi;<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
- Mappings:
Namespace Name Mixin selector official a
Ldmi;a(Ljava/lang/String;)Ldmi;
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
- Mappings:
Namespace Name Mixin selector official a
Ldmi;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
Ldmi;b()I
intermediary method_21037
Lnet/minecraft/class_4345;method_21037()I
named getErrorCode
Lnet/minecraft/client/realms/RealmsError;getErrorCode()I
-