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 dyr$b
named dimensions
intermediary comp_1017
official a
named specialWorldProperty
intermediary comp_1018
official b
-
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 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
Ldyr$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
Ldyr$b;b()Ljw$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 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
-