Package net.minecraft
Record Class class_11459
java.lang.Object
java.lang.Record
net.minecraft.class_11459
- Record Components:
address-resourcePackUrl-resourcePackHash-regionData-
- All Implemented Interfaces:
RealmsSerializable
@Environment(CLIENT)
public record class_11459(@Nullable String address, @Nullable String resourcePackUrl, @Nullable String resourcePackHash, class_11459.class_11460 regionData)
extends Record
implements RealmsSerializable
- Mappings:
Namespace Name named net/minecraft/class_11459intermediary net/minecraft/class_11459official fpqnamed addressintermediary comp_4365official anamed resourcePackUrlintermediary comp_4366official bnamed resourcePackHashintermediary comp_4367official cnamed regionDataintermediary comp_4368official d
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for theaddressrecord component.private static final Loggerprivate static final class_11459private final class_11459.class_11460The field for theregionDatarecord component.The field for theresourcePackHashrecord component.The field for theresourcePackUrlrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11459(@Nullable String string, @Nullable String string2, @Nullable String string3, @Nullable class_11459.class_11460 class_11460) -
Method Summary
Modifier and TypeMethodDescriptionaddress()Returns the value of theaddressrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static class_11459method_71782(CheckedGson checkedGson, String string) Returns the value of theregionDatarecord component.Returns the value of theresourcePackHashrecord component.Returns the value of theresourcePackUrlrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
address
The field for theaddressrecord component. -
resourcePackUrl
The field for theresourcePackUrlrecord component. -
resourcePackHash
The field for theresourcePackHashrecord component. -
regionData
The field for theregionDatarecord component. -
field_60676
- Mappings:
Namespace Name Mixin selector named field_60676Lnet/minecraft/class_11459;field_60676:Lorg/slf4j/Logger;intermediary field_60676Lnet/minecraft/class_11459;field_60676:Lorg/slf4j/Logger;official eLfpq;e:Lorg/slf4j/Logger;
-
field_60677
- Mappings:
Namespace Name Mixin selector named field_60677Lnet/minecraft/class_11459;field_60677:Lnet/minecraft/class_11459;intermediary field_60677Lnet/minecraft/class_11459;field_60677:Lnet/minecraft/class_11459;official fLfpq;f:Lfpq;
-
-
Constructor Details
-
class_11459
-
-
Method Details
-
method_71782
- Mappings:
Namespace Name Mixin selector named method_71782Lnet/minecraft/class_11459;method_71782(Lnet/minecraft/client/realms/CheckedGson;Ljava/lang/String;)Lnet/minecraft/class_11459;intermediary method_71782Lnet/minecraft/class_11459;method_71782(Lnet/minecraft/class_4869;Ljava/lang/String;)Lnet/minecraft/class_11459;official aLfpq;a(Lfph;Ljava/lang/String;)Lfpq;
-
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). -
address
Returns the value of theaddressrecord component.- Returns:
- the value of the
addressrecord component
-
resourcePackUrl
Returns the value of theresourcePackUrlrecord component.- Returns:
- the value of the
resourcePackUrlrecord component
-
resourcePackHash
Returns the value of theresourcePackHashrecord component.- Returns:
- the value of the
resourcePackHashrecord component
-
regionData
@SerializedName("sessionRegionData") @Nullable public @Nullable class_11459.class_11460 regionData()Returns the value of theregionDatarecord component.- Returns:
- the value of the
regionDatarecord component
-