Package net.minecraft.client.world
Record Class GeneratorOptionsHolder
java.lang.Object
java.lang.Record
net.minecraft.client.world.GeneratorOptionsHolder
- Record Components:
generatorOptions
-dimensionOptionsRegistry
-selectedDimensions
-combinedDynamicRegistries
-dataPackContents
-dataConfiguration
-
@Environment(CLIENT)
public record GeneratorOptionsHolder(GeneratorOptions generatorOptions, Registry<DimensionOptions> dimensionOptionsRegistry, DimensionOptionsRegistryHolder selectedDimensions, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, DataPackContents dataPackContents, DataConfiguration dataConfiguration)
extends Record
- Mappings:
Namespace Name official fdg
intermediary net/minecraft/class_7193
named net/minecraft/client/world/GeneratorOptionsHolder
official a
intermediary comp_616
named generatorOptions
official b
intermediary comp_1027
named dimensionOptionsRegistry
official c
intermediary comp_1028
named selectedDimensions
official d
intermediary comp_1029
named combinedDynamicRegistries
official e
intermediary comp_619
named dataPackContents
official f
intermediary comp_1030
named dataConfiguration
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
-
Field Summary
Modifier and TypeFieldDescriptionprivate final CombinedDynamicRegistries<ServerDynamicRegistryType>
The field for thecombinedDynamicRegistries
record component.private final DataConfiguration
The field for thedataConfiguration
record component.private final DataPackContents
The field for thedataPackContents
record component.private final Registry<DimensionOptions>
The field for thedimensionOptionsRegistry
record component.private final GeneratorOptions
The field for thegeneratorOptions
record component.private final DimensionOptionsRegistryHolder
The field for theselectedDimensions
record component. -
Constructor Summary
ConstructorDescriptionGeneratorOptionsHolder
(GeneratorOptions generatorOptions, Registry<DimensionOptions> registry, DimensionOptionsRegistryHolder dimensionOptionsRegistryHolder, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, DataPackContents dataPackContents, DataConfiguration dataConfiguration) GeneratorOptionsHolder
(GeneratorOptions generatorOptions, DimensionOptionsRegistryHolder selectedDimensions, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, DataPackContents dataPackContents, DataConfiguration dataConfiguration) GeneratorOptionsHolder
(WorldGenSettings worldGenSettings, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, DataPackContents dataPackContents, DataConfiguration dataConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionapply
(GeneratorOptionsHolder.Modifier modifier) Returns the value of thecombinedDynamicRegistries
record component.Returns the value of thedataConfiguration
record component.Returns the value of thedataPackContents
record component.Returns the value of thedimensionOptionsRegistry
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of thegeneratorOptions
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of theselectedDimensions
record component.final String
toString()
Returns a string representation of this record class.with
(GeneratorOptions generatorOptions, DimensionOptionsRegistryHolder selectedDimensions)
-
Field Details
-
generatorOptions
The field for thegeneratorOptions
record component. -
dimensionOptionsRegistry
The field for thedimensionOptionsRegistry
record component. -
selectedDimensions
The field for theselectedDimensions
record component. -
combinedDynamicRegistries
The field for thecombinedDynamicRegistries
record component. -
dataPackContents
The field for thedataPackContents
record component. -
dataConfiguration
The field for thedataConfiguration
record component.
-
-
Constructor Details
-
GeneratorOptionsHolder
public GeneratorOptionsHolder(WorldGenSettings worldGenSettings, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, DataPackContents dataPackContents, DataConfiguration dataConfiguration) - Mappings:
Namespace Name Mixin selector official <init>
Lfdg;<init>(Ldlo;Lhl;Lafg;Lcqo;)V
intermediary <init>
Lnet/minecraft/class_7193;<init>(Lnet/minecraft/class_7726;Lnet/minecraft/class_7780;Lnet/minecraft/class_5350;Lnet/minecraft/class_7712;)V
named <init>
Lnet/minecraft/client/world/GeneratorOptionsHolder;<init>(Lnet/minecraft/world/level/WorldGenSettings;Lnet/minecraft/registry/CombinedDynamicRegistries;Lnet/minecraft/server/DataPackContents;Lnet/minecraft/resource/DataConfiguration;)V
-
GeneratorOptionsHolder
public GeneratorOptionsHolder(GeneratorOptions generatorOptions, DimensionOptionsRegistryHolder selectedDimensions, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, DataPackContents dataPackContents, DataConfiguration dataConfiguration) - Mappings:
Namespace Name Mixin selector official <init>
Lfdg;<init>(Ldlq;Ldln;Lhl;Lafg;Lcqo;)V
intermediary <init>
Lnet/minecraft/class_7193;<init>(Lnet/minecraft/class_5285;Lnet/minecraft/class_7723;Lnet/minecraft/class_7780;Lnet/minecraft/class_5350;Lnet/minecraft/class_7712;)V
named <init>
Lnet/minecraft/client/world/GeneratorOptionsHolder;<init>(Lnet/minecraft/world/gen/GeneratorOptions;Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;Lnet/minecraft/registry/CombinedDynamicRegistries;Lnet/minecraft/server/DataPackContents;Lnet/minecraft/resource/DataConfiguration;)V
-
GeneratorOptionsHolder
public GeneratorOptionsHolder(GeneratorOptions generatorOptions, Registry<DimensionOptions> registry, DimensionOptionsRegistryHolder dimensionOptionsRegistryHolder, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, DataPackContents dataPackContents, DataConfiguration dataConfiguration)
-
-
Method Details
-
with
public GeneratorOptionsHolder with(GeneratorOptions generatorOptions, DimensionOptionsRegistryHolder selectedDimensions) - Mappings:
Namespace Name Mixin selector official a
Lfdg;a(Ldlq;Ldln;)Lfdg;
intermediary method_41864
Lnet/minecraft/class_7193;method_41864(Lnet/minecraft/class_5285;Lnet/minecraft/class_7723;)Lnet/minecraft/class_7193;
named with
Lnet/minecraft/client/world/GeneratorOptionsHolder;with(Lnet/minecraft/world/gen/GeneratorOptions;Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;)Lnet/minecraft/client/world/GeneratorOptionsHolder;
-
apply
- Mappings:
Namespace Name Mixin selector official a
Lfdg;a(Lfdg$b;)Lfdg;
intermediary method_45690
Lnet/minecraft/class_7193;method_45690(Lnet/minecraft/class_7193$class_7194;)Lnet/minecraft/class_7193;
named apply
Lnet/minecraft/client/world/GeneratorOptionsHolder;apply(Lnet/minecraft/client/world/GeneratorOptionsHolder$Modifier;)Lnet/minecraft/client/world/GeneratorOptionsHolder;
-
apply
- Mappings:
Namespace Name Mixin selector official a
Lfdg;a(Lfdg$a;)Lfdg;
intermediary method_41866
Lnet/minecraft/class_7193;method_41866(Lnet/minecraft/class_7193$class_7195;)Lnet/minecraft/class_7193;
named apply
Lnet/minecraft/client/world/GeneratorOptionsHolder;apply(Lnet/minecraft/client/world/GeneratorOptionsHolder$RegistryAwareModifier;)Lnet/minecraft/client/world/GeneratorOptionsHolder;
-
getCombinedRegistryManager
- Mappings:
Namespace Name Mixin selector official a
Lfdg;a()Lhr$b;
intermediary method_45689
Lnet/minecraft/class_7193;method_45689()Lnet/minecraft/class_5455$class_6890;
named getCombinedRegistryManager
Lnet/minecraft/client/world/GeneratorOptionsHolder;getCombinedRegistryManager()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)
. -
generatorOptions
Returns the value of thegeneratorOptions
record component.- Returns:
- the value of the
generatorOptions
record component
-
dimensionOptionsRegistry
Returns the value of thedimensionOptionsRegistry
record component.- Returns:
- the value of the
dimensionOptionsRegistry
record component
-
selectedDimensions
Returns the value of theselectedDimensions
record component.- Returns:
- the value of the
selectedDimensions
record component
-
combinedDynamicRegistries
Returns the value of thecombinedDynamicRegistries
record component.- Returns:
- the value of the
combinedDynamicRegistries
record component
-
dataPackContents
Returns the value of thedataPackContents
record component.- Returns:
- the value of the
dataPackContents
record component
-
dataConfiguration
Returns the value of thedataConfiguration
record component.- Returns:
- the value of the
dataConfiguration
record component
-