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 - named - net/minecraft/client/realms/RealmsError$AuthenticationError- intermediary - net/minecraft/class_4345$class_8652- official - fgn$a- named - message- intermediary - comp_1595- official - d
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.client.realms.RealmsErrorRealmsError.AuthenticationError, RealmsError.DetailedHttpError, RealmsError.RawHttpPayloadError, RealmsError.SimpleHttpError
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intprivate final StringThe field for themessagerecord component.Fields inherited from interface net.minecraft.client.realms.RealmsErrorLOGGER, NO_DETAILS_TEXT
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intgetText()final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
messageThe field for themessagerecord component.
- 
ERROR_CODEpublic static final int ERROR_CODE- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - ERROR_CODE- Lnet/minecraft/client/realms/RealmsError$AuthenticationError;ERROR_CODE:I- intermediary - field_45234- Lnet/minecraft/class_4345$class_8652;field_45234:I- official - c- Lfgn$a;c:I
 
 
- 
- 
Constructor Details- 
AuthenticationError
 
- 
- 
Method Details- 
getErrorCodepublic int getErrorCode()- Specified by:
- getErrorCodein interface- RealmsError
- Mappings:
- Namespace - Name - Mixin selector - named - getErrorCode- Lnet/minecraft/client/realms/RealmsError;getErrorCode()I- intermediary - method_21037- Lnet/minecraft/class_4345;method_21037()I- official - a- Lfgn;a()I
 
- 
getText- Specified by:
- getTextin interface- RealmsError
- Mappings:
- Namespace - Name - Mixin selector - named - getText- Lnet/minecraft/client/realms/RealmsError;getText()Lnet/minecraft/text/Text;- intermediary - method_52657- Lnet/minecraft/class_4345;method_52657()Lnet/minecraft/class_2561;- official - b- Lfgn;b()Lwp;
 
- 
getErrorMessage- Specified by:
- getErrorMessagein interface- RealmsError
- Mappings:
- Namespace - Name - Mixin selector - named - getErrorMessage- Lnet/minecraft/client/realms/RealmsError;getErrorMessage()Ljava/lang/String;- intermediary - method_21036- Lnet/minecraft/class_4345;method_21036()Ljava/lang/String;- official - c- Lfgn;c()Ljava/lang/String;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
messageReturns the value of themessagerecord component.- Returns:
- the value of the messagerecord component
 
 
-