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$DimensionsConfig- intermediary - net/minecraft/class_7723$class_7725- official - edo$b- named - dimensions- intermediary - comp_1017- official - a- named - specialWorldProperty- intermediary - comp_1018- official - b
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final Registry<DimensionOptions> The field for thedimensionsrecord component.private final LevelProperties.SpecialPropertyThe field for thespecialWorldPropertyrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionDimensionsConfig(Registry<DimensionOptions> registry, LevelProperties.SpecialProperty specialProperty) 
- 
Method SummaryModifier 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- 
dimensionsThe field for thedimensionsrecord component.
- 
specialWorldPropertyThe field for thespecialWorldPropertyrecord component.
 
- 
- 
Constructor Details- 
DimensionsConfigpublic DimensionsConfig(Registry<DimensionOptions> registry, LevelProperties.SpecialProperty specialProperty) 
 
- 
- 
Method Details- 
getLifecyclepublic com.mojang.serialization.Lifecycle getLifecycle()- Mappings:
- Namespace - Name - Mixin selector - named - getLifecycle- Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder$DimensionsConfig;getLifecycle()Lcom/mojang/serialization/Lifecycle;- intermediary - method_45536- Lnet/minecraft/class_7723$class_7725;method_45536()Lcom/mojang/serialization/Lifecycle;- official - a- Ledo$b;a()Lcom/mojang/serialization/Lifecycle;
 
- 
toDynamicRegistryManager- Mappings:
- Namespace - Name - Mixin selector - named - toDynamicRegistryManager- Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder$DimensionsConfig;toDynamicRegistryManager()Lnet/minecraft/registry/DynamicRegistryManager$Immutable;- intermediary - method_45537- Lnet/minecraft/class_7723$class_7725;method_45537()Lnet/minecraft/class_5455$class_6890;- official - b- Ledo$b;b()Lkf$b;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
dimensionsReturns the value of thedimensionsrecord component.- Returns:
- the value of the dimensionsrecord component
 
- 
specialWorldPropertyReturns the value of thespecialWorldPropertyrecord component.- Returns:
- the value of the specialWorldPropertyrecord component
 
 
-