Package net.minecraft.world.dimension
Record Class DimensionOptionsRegistryHolder.DimensionsConfig
java.lang.Object
java.lang.Record
net.minecraft.world.dimension.DimensionOptionsRegistryHolder.DimensionsConfig
- Record Components:
dimensions-specialWorldProperty-
- Enclosing class:
DimensionOptionsRegistryHolder
public static record DimensionOptionsRegistryHolder.DimensionsConfig(Registry<DimensionOptions> dimensions, LevelProperties.SpecialProperty specialWorldProperty)
extends Record
- Mappings:
Namespace Name named net/minecraft/world/dimension/DimensionOptionsRegistryHolder$DimensionsConfigintermediary net/minecraft/class_7723$class_7725official dzt$bnamed dimensionsintermediary comp_1017official anamed specialWorldPropertyintermediary comp_1018official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Registry<DimensionOptions> The field for thedimensionsrecord component.private final LevelProperties.SpecialPropertyThe field for thespecialWorldPropertyrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionDimensionsConfig(Registry<DimensionOptions> registry, LevelProperties.SpecialProperty specialProperty) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedimensionsrecord component.final booleanIndicates whether some other object is "equal to" this one.com.mojang.serialization.Lifecyclefinal inthashCode()Returns a hash code value for this object.Returns the value of thespecialWorldPropertyrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
dimensions
The field for thedimensionsrecord component. -
specialWorldProperty
The field for thespecialWorldPropertyrecord component.
-
-
Constructor Details
-
DimensionsConfig
public DimensionsConfig(Registry<DimensionOptions> registry, LevelProperties.SpecialProperty specialProperty)
-
-
Method Details
-
getLifecycle
public com.mojang.serialization.Lifecycle getLifecycle()- Mappings:
Namespace Name Mixin selector named getLifecycleLnet/minecraft/world/dimension/DimensionOptionsRegistryHolder$DimensionsConfig;getLifecycle()Lcom/mojang/serialization/Lifecycle;intermediary method_45536Lnet/minecraft/class_7723$class_7725;method_45536()Lcom/mojang/serialization/Lifecycle;official aLdzt$b;a()Lcom/mojang/serialization/Lifecycle;
-
toDynamicRegistryManager
- Mappings:
Namespace Name Mixin selector named toDynamicRegistryManagerLnet/minecraft/world/dimension/DimensionOptionsRegistryHolder$DimensionsConfig;toDynamicRegistryManager()Lnet/minecraft/registry/DynamicRegistryManager$Immutable;intermediary method_45537Lnet/minecraft/class_7723$class_7725;method_45537()Lnet/minecraft/class_5455$class_6890;official bLdzt$b;b()Lka$b;
-
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). -
dimensions
Returns the value of thedimensionsrecord component.- Returns:
- the value of the
dimensionsrecord component
-
specialWorldProperty
Returns the value of thespecialWorldPropertyrecord component.- Returns:
- the value of the
specialWorldPropertyrecord component
-