Package net.minecraft
Record Class class_11309
java.lang.Object
java.lang.Record
net.minecraft.class_11309
- Record Components:
region-serviceQuality-
- All Implemented Interfaces:
RealmsSerializable
@Environment(CLIENT)
public record class_11309(class_11303 region, class_11313 serviceQuality)
extends Record
implements RealmsSerializable
- Mappings:
Namespace Name named net/minecraft/class_11309intermediary net/minecraft/class_11309official fnznamed regionintermediary comp_4182official anamed serviceQualityintermediary comp_4183official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_11303The field for theregionrecord component.private final class_11313The field for theserviceQualityrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.region()Returns the value of theregionrecord component.Returns the value of theserviceQualityrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
region
The field for theregionrecord component. -
serviceQuality
The field for theserviceQualityrecord component.
-
-
Constructor Details
-
class_11309
-
-
Method Details
-
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). -
region
Returns the value of theregionrecord component.- Returns:
- the value of the
regionrecord component
-
serviceQuality
Returns the value of theserviceQualityrecord component.- Returns:
- the value of the
serviceQualityrecord component
-