Package net.minecraft.client.realms
Record Class RealmsError.class_8652
java.lang.Object
java.lang.Record
net.minecraft.client.realms.RealmsError.class_8652
- Record Components:
message-
- All Implemented Interfaces:
RealmsError
- Enclosing interface:
RealmsError
@Environment(CLIENT)
public static record RealmsError.class_8652(String message)
extends Record
implements RealmsError
- Mappings:
Namespace Name official elz$aintermediary net/minecraft/class_4345$class_8652named net/minecraft/client/realms/RealmsError$class_8652official dintermediary comp_1595named message
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.realms.RealmsError
RealmsError.class_8652, RealmsError.class_8653, RealmsError.class_8654, RealmsError.class_8655 -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprivate final StringThe field for themessagerecord component.Fields inherited from interface net.minecraft.client.realms.RealmsError
field_45233, LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intfinal 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
-
message
The field for themessagerecord component. -
field_45234
public static final int field_45234- See Also:
- Mappings:
Namespace Name Mixin selector official cLelz$a;c:Iintermediary field_45234Lnet/minecraft/class_4345$class_8652;field_45234:Inamed field_45234Lnet/minecraft/client/realms/RealmsError$class_8652;field_45234:I
-
-
Constructor Details
-
class_8652
-
-
Method Details
-
getErrorCode
public int getErrorCode()- Specified by:
getErrorCodein interfaceRealmsError- Mappings:
Namespace Name Mixin selector official aLelz;a()Iintermediary method_21037Lnet/minecraft/class_4345;method_21037()Inamed getErrorCodeLnet/minecraft/client/realms/RealmsError;getErrorCode()I
-
method_52657
- Specified by:
method_52657in interfaceRealmsError- Mappings:
Namespace Name Mixin selector official bLelz;b()Lte;intermediary method_52657Lnet/minecraft/class_4345;method_52657()Lnet/minecraft/class_2561;named method_52657Lnet/minecraft/client/realms/RealmsError;method_52657()Lnet/minecraft/text/Text;
-
getErrorMessage
- Specified by:
getErrorMessagein interfaceRealmsError- Mappings:
Namespace Name Mixin selector official cLelz;c()Ljava/lang/String;intermediary method_21036Lnet/minecraft/class_4345;method_21036()Ljava/lang/String;named getErrorMessageLnet/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 themessagerecord component.- Returns:
- the value of the
messagerecord component
-