Record Class ParsedSaveProperties
java.lang.Object
java.lang.Record
net.minecraft.world.level.storage.ParsedSaveProperties
- Record Components:
properties-dimensions-
public record ParsedSaveProperties(SaveProperties properties, DimensionOptionsRegistryHolder.DimensionsConfig dimensions)
extends Record
- Mappings:
Namespace Name named net/minecraft/world/level/storage/ParsedSavePropertiesintermediary net/minecraft/class_8895official ercnamed propertiesintermediary comp_2008official anamed dimensionsintermediary comp_2009official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DimensionOptionsRegistryHolder.DimensionsConfigThe field for thedimensionsrecord component.private final SavePropertiesThe field for thepropertiesrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionParsedSaveProperties(SaveProperties saveProperties, DimensionOptionsRegistryHolder.DimensionsConfig dimensionsConfig) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedimensionsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepropertiesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
properties
The field for thepropertiesrecord component. -
dimensions
The field for thedimensionsrecord component.
-
-
Constructor Details
-
ParsedSaveProperties
public ParsedSaveProperties(SaveProperties saveProperties, DimensionOptionsRegistryHolder.DimensionsConfig dimensionsConfig)
-
-
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). -
properties
Returns the value of thepropertiesrecord component.- Returns:
- the value of the
propertiesrecord component
-
dimensions
Returns the value of thedimensionsrecord component.- Returns:
- the value of the
dimensionsrecord component
-