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 official dif$b
intermediary net/minecraft/class_7723$class_7725
named net/minecraft/world/dimension/DimensionOptionsRegistryHolder$DimensionsConfig
official a
intermediary comp_1017
named dimensions
official b
intermediary comp_1018
named specialWorldProperty
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Registry<DimensionOptions>
The field for thedimensions
record component.private final LevelProperties.SpecialProperty
The field for thespecialWorldProperty
record component. -
Constructor Summary
ConstructorDescriptionDimensionsConfig
(Registry<DimensionOptions> registry, LevelProperties.SpecialProperty specialProperty) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedimensions
record component.final boolean
Indicates whether some other object is "equal to" this one.com.mojang.serialization.Lifecycle
final int
hashCode()
Returns a hash code value for this object.Returns the value of thespecialWorldProperty
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
dimensions
The field for thedimensions
record component. -
specialWorldProperty
The field for thespecialWorldProperty
record 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 official a
Ldif$b;a()Lcom/mojang/serialization/Lifecycle;
intermediary method_45536
Lnet/minecraft/class_7723$class_7725;method_45536()Lcom/mojang/serialization/Lifecycle;
named getLifecycle
Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder$DimensionsConfig;getLifecycle()Lcom/mojang/serialization/Lifecycle;
-
toDynamicRegistryManager
- Mappings:
Namespace Name Mixin selector official b
Ldif$b;b()Lhs$b;
intermediary method_45537
Lnet/minecraft/class_7723$class_7725;method_45537()Lnet/minecraft/class_5455$class_6890;
named toDynamicRegistryManager
Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder$DimensionsConfig;toDynamicRegistryManager()Lnet/minecraft/registry/DynamicRegistryManager$Immutable;
-
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 thedimensions
record component.- Returns:
- the value of the
dimensions
record component
-
specialWorldProperty
Returns the value of thespecialWorldProperty
record component.- Returns:
- the value of the
specialWorldProperty
record component
-