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 named net/minecraft/client/world/GeneratorOptionsHolder
intermediary net/minecraft/class_7193
official ftk
named generatorOptions
intermediary comp_616
official a
named dimensionOptionsRegistry
intermediary comp_1027
official b
named selectedDimensions
intermediary comp_1028
official c
named combinedDynamicRegistries
intermediary comp_1029
official d
named dataPackContents
intermediary comp_619
official e
named dataConfiguration
intermediary comp_1030
official f
-
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.void
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 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
intermediary <init>
Lnet/minecraft/class_7193;<init>(Lnet/minecraft/class_7726;Lnet/minecraft/class_7780;Lnet/minecraft/class_5350;Lnet/minecraft/class_7712;)V
official <init>
Lftk;<init>(Ldzu;Ljt;Lalc;Lddr;)V
-
GeneratorOptionsHolder
public GeneratorOptionsHolder(GeneratorOptions generatorOptions, DimensionOptionsRegistryHolder selectedDimensions, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, DataPackContents dataPackContents, DataConfiguration dataConfiguration) - Mappings:
Namespace Name Mixin selector 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
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
official <init>
Lftk;<init>(Ldzw;Ldzt;Ljt;Lalc;Lddr;)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 named with
Lnet/minecraft/client/world/GeneratorOptionsHolder;with(Lnet/minecraft/world/gen/GeneratorOptions;Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;)Lnet/minecraft/client/world/GeneratorOptionsHolder;
intermediary method_41864
Lnet/minecraft/class_7193;method_41864(Lnet/minecraft/class_5285;Lnet/minecraft/class_7723;)Lnet/minecraft/class_7193;
official a
Lftk;a(Ldzw;Ldzt;)Lftk;
-
apply
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/client/world/GeneratorOptionsHolder;apply(Lnet/minecraft/client/world/GeneratorOptionsHolder$Modifier;)Lnet/minecraft/client/world/GeneratorOptionsHolder;
intermediary method_45690
Lnet/minecraft/class_7193;method_45690(Lnet/minecraft/class_7193$class_7194;)Lnet/minecraft/class_7193;
official a
Lftk;a(Lftk$b;)Lftk;
-
apply
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/client/world/GeneratorOptionsHolder;apply(Lnet/minecraft/client/world/GeneratorOptionsHolder$RegistryAwareModifier;)Lnet/minecraft/client/world/GeneratorOptionsHolder;
intermediary method_41866
Lnet/minecraft/class_7193;method_41866(Lnet/minecraft/class_7193$class_7195;)Lnet/minecraft/class_7193;
official a
Lftk;a(Lftk$a;)Lftk;
-
getCombinedRegistryManager
- Mappings:
Namespace Name Mixin selector named getCombinedRegistryManager
Lnet/minecraft/client/world/GeneratorOptionsHolder;getCombinedRegistryManager()Lnet/minecraft/registry/DynamicRegistryManager$Immutable;
intermediary method_45689
Lnet/minecraft/class_7193;method_45689()Lnet/minecraft/class_5455$class_6890;
official a
Lftk;a()Lka$b;
-
initializeIndexedFeaturesLists
public void initializeIndexedFeaturesLists()- Mappings:
Namespace Name Mixin selector named initializeIndexedFeaturesLists
Lnet/minecraft/client/world/GeneratorOptionsHolder;initializeIndexedFeaturesLists()V
intermediary method_60345
Lnet/minecraft/class_7193;method_60345()V
official b
Lftk;b()V
-
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
-