Package net.minecraft.client.realms
Record Class RealmsError.AuthenticationError
java.lang.Object
java.lang.Record
net.minecraft.client.realms.RealmsError.AuthenticationError
- Record Components:
message
-
- All Implemented Interfaces:
RealmsError
- Enclosing interface:
RealmsError
@Environment(CLIENT)
public static record RealmsError.AuthenticationError(String message)
extends Record
implements RealmsError
- Mappings:
Namespace Name official emh$a
intermediary net/minecraft/class_4345$class_8652
named net/minecraft/client/realms/RealmsError$AuthenticationError
official d
intermediary comp_1595
named message
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.realms.RealmsError
RealmsError.AuthenticationError, RealmsError.DetailedHttpError, RealmsError.RawHttpPayloadError, RealmsError.SimpleHttpError
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
private final String
The field for themessage
record component.Fields inherited from interface net.minecraft.client.realms.RealmsError
LOGGER, NO_DETAILS_TEXT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.int
getText()
final int
hashCode()
Returns a hash code value for this object.message()
Returns the value of themessage
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
message
The field for themessage
record component. -
ERROR_CODE
public static final int ERROR_CODE- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lemh$a;c:I
intermediary field_45234
Lnet/minecraft/class_4345$class_8652;field_45234:I
named ERROR_CODE
Lnet/minecraft/client/realms/RealmsError$AuthenticationError;ERROR_CODE:I
-
-
Constructor Details
-
AuthenticationError
-
-
Method Details
-
getErrorCode
public int getErrorCode()- Specified by:
getErrorCode
in interfaceRealmsError
- Mappings:
Namespace Name Mixin selector official a
Lemh;a()I
intermediary method_21037
Lnet/minecraft/class_4345;method_21037()I
named getErrorCode
Lnet/minecraft/client/realms/RealmsError;getErrorCode()I
-
getText
- Specified by:
getText
in interfaceRealmsError
- Mappings:
Namespace Name Mixin selector official b
Lemh;b()Ltl;
intermediary method_52657
Lnet/minecraft/class_4345;method_52657()Lnet/minecraft/class_2561;
named getText
Lnet/minecraft/client/realms/RealmsError;getText()Lnet/minecraft/text/Text;
-
getErrorMessage
- Specified by:
getErrorMessage
in interfaceRealmsError
- Mappings:
Namespace Name Mixin selector official c
Lemh;c()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;
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
message
Returns the value of themessage
record component.- Returns:
- the value of the
message
record component
-