Package net.minecraft.client.realms
Record Class RealmsError.class_8653
java.lang.Object
java.lang.Record
net.minecraft.client.realms.RealmsError.class_8653
- Record Components:
httpCode-payload-
- All Implemented Interfaces:
RealmsError
- Enclosing interface:
RealmsError
@Environment(CLIENT)
public static record RealmsError.class_8653(int httpCode, @Nullable Text payload)
extends Record
implements RealmsError
- Mappings:
Namespace Name official elz$bintermediary net/minecraft/class_4345$class_8653named net/minecraft/client/realms/RealmsError$class_8653official eintermediary comp_1596named httpCodeofficial fintermediary comp_1597named payload
-
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 RealmsError.class_8653static final Textprivate final intThe field for thehttpCoderecord component.The field for thepayloadrecord 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.inthttpCode()Returns the value of thehttpCoderecord component.static RealmsError.class_8653method_52658(int int2) static RealmsError.class_8653method_52659(RealmsHttpException realmsHttpException) static RealmsError.class_8653method_52660(String string) static RealmsError.class_8653method_52661(int int2) payload()Returns the value of thepayloadrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
httpCode
private final int httpCodeThe field for thehttpCoderecord component. -
payload
The field for thepayloadrecord component. -
field_45235
- Mappings:
Namespace Name Mixin selector official cLelz$b;c:Lelz$b;intermediary field_45235Lnet/minecraft/class_4345$class_8653;field_45235:Lnet/minecraft/class_4345$class_8653;named field_45235Lnet/minecraft/client/realms/RealmsError$class_8653;field_45235:Lnet/minecraft/client/realms/RealmsError$class_8653;
-
field_45236
- Mappings:
Namespace Name Mixin selector official dLelz$b;d:Lte;intermediary field_45236Lnet/minecraft/class_4345$class_8653;field_45236:Lnet/minecraft/class_2561;named field_45236Lnet/minecraft/client/realms/RealmsError$class_8653;field_45236:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
class_8653
-
-
Method Details
-
method_52660
- Mappings:
Namespace Name Mixin selector official aLelz$b;a(Ljava/lang/String;)Lelz$b;intermediary method_52660Lnet/minecraft/class_4345$class_8653;method_52660(Ljava/lang/String;)Lnet/minecraft/class_4345$class_8653;named method_52660Lnet/minecraft/client/realms/RealmsError$class_8653;method_52660(Ljava/lang/String;)Lnet/minecraft/client/realms/RealmsError$class_8653;
-
method_52659
- Mappings:
Namespace Name Mixin selector official aLelz$b;a(Lenj;)Lelz$b;intermediary method_52659Lnet/minecraft/class_4345$class_8653;method_52659(Lnet/minecraft/class_4354;)Lnet/minecraft/class_4345$class_8653;named method_52659Lnet/minecraft/client/realms/RealmsError$class_8653;method_52659(Lnet/minecraft/client/realms/exception/RealmsHttpException;)Lnet/minecraft/client/realms/RealmsError$class_8653;
-
method_52658
- Mappings:
Namespace Name Mixin selector official aLelz$b;a(I)Lelz$b;intermediary method_52658Lnet/minecraft/class_4345$class_8653;method_52658(I)Lnet/minecraft/class_4345$class_8653;named method_52658Lnet/minecraft/client/realms/RealmsError$class_8653;method_52658(I)Lnet/minecraft/client/realms/RealmsError$class_8653;
-
method_52661
- Mappings:
Namespace Name Mixin selector official bLelz$b;b(I)Lelz$b;intermediary method_52661Lnet/minecraft/class_4345$class_8653;method_52661(I)Lnet/minecraft/class_4345$class_8653;named method_52661Lnet/minecraft/client/realms/RealmsError$class_8653;method_52661(I)Lnet/minecraft/client/realms/RealmsError$class_8653;
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
httpCode
public int httpCode()Returns the value of thehttpCoderecord component.- Returns:
- the value of the
httpCoderecord component
-
payload
Returns the value of thepayloadrecord component.- Returns:
- the value of the
payloadrecord component
-