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 - ezi- 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 SummaryNested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final CombinedDynamicRegistries<ServerDynamicRegistryType>The field for thecombinedDynamicRegistriesrecord component.private final DataConfigurationThe field for thedataConfigurationrecord component.private final DataPackContentsThe field for thedataPackContentsrecord component.private final Registry<DimensionOptions>The field for thedimensionOptionsRegistryrecord component.private final GeneratorOptionsThe field for thegeneratorOptionsrecord component.private final DimensionOptionsRegistryHolderThe field for theselectedDimensionsrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionGeneratorOptionsHolder(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 SummaryModifier and TypeMethodDescriptionapply(GeneratorOptionsHolder.Modifier modifier) Returns the value of thecombinedDynamicRegistriesrecord component.Returns the value of thedataConfigurationrecord component.Returns the value of thedataPackContentsrecord component.Returns the value of thedimensionOptionsRegistryrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegeneratorOptionsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theselectedDimensionsrecord component.final StringtoString()Returns a string representation of this record class.with(GeneratorOptions generatorOptions, DimensionOptionsRegistryHolder selectedDimensions) 
- 
Field Details- 
generatorOptionsThe field for thegeneratorOptionsrecord component.
- 
dimensionOptionsRegistryThe field for thedimensionOptionsRegistryrecord component.
- 
selectedDimensionsThe field for theselectedDimensionsrecord component.
- 
combinedDynamicRegistriesThe field for thecombinedDynamicRegistriesrecord component.
- 
dataPackContentsThe field for thedataPackContentsrecord component.
- 
dataConfigurationThe field for thedataConfigurationrecord component.
 
- 
- 
Constructor Details- 
GeneratorOptionsHolderpublic GeneratorOptionsHolder(WorldGenSettings worldGenSettings, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, DataPackContents dataPackContents, DataConfiguration dataConfiguration) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lezi;<init>(Ldig;Lhl;Lada;Lcnf;)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
 
- 
GeneratorOptionsHolderpublic GeneratorOptionsHolder(GeneratorOptions generatorOptions, DimensionOptionsRegistryHolder selectedDimensions, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, DataPackContents dataPackContents, DataConfiguration dataConfiguration) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lezi;<init>(Ldii;Ldif;Lhl;Lada;Lcnf;)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
 
- 
GeneratorOptionsHolderpublic GeneratorOptionsHolder(GeneratorOptions generatorOptions, Registry<DimensionOptions> registry, DimensionOptionsRegistryHolder dimensionOptionsRegistryHolder, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, DataPackContents dataPackContents, DataConfiguration dataConfiguration) 
 
- 
- 
Method Details- 
withpublic GeneratorOptionsHolder with(GeneratorOptions generatorOptions, DimensionOptionsRegistryHolder selectedDimensions) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lezi;a(Ldii;Ldif;)Lezi;- 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- Lezi;a(Lezi$b;)Lezi;- 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- Lezi;a(Lezi$a;)Lezi;- 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- Lezi;a()Lhs$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;
 
- 
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).
- 
generatorOptionsReturns the value of thegeneratorOptionsrecord component.- Returns:
- the value of the generatorOptionsrecord component
 
- 
dimensionOptionsRegistryReturns the value of thedimensionOptionsRegistryrecord component.- Returns:
- the value of the dimensionOptionsRegistryrecord component
 
- 
selectedDimensionsReturns the value of theselectedDimensionsrecord component.- Returns:
- the value of the selectedDimensionsrecord component
 
- 
combinedDynamicRegistriesReturns the value of thecombinedDynamicRegistriesrecord component.- Returns:
- the value of the combinedDynamicRegistriesrecord component
 
- 
dataPackContentsReturns the value of thedataPackContentsrecord component.- Returns:
- the value of the dataPackContentsrecord component
 
- 
dataConfigurationReturns the value of thedataConfigurationrecord component.- Returns:
- the value of the dataConfigurationrecord component
 
 
-