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 eyxintermediary net/minecraft/class_7193named net/minecraft/client/world/GeneratorOptionsHolderofficial aintermediary comp_616named generatorOptionsofficial bintermediary comp_1027named dimensionOptionsRegistryofficial cintermediary comp_1028named selectedDimensionsofficial dintermediary comp_1029named combinedDynamicRegistriesofficial eintermediary comp_619named dataPackContentsofficial fintermediary comp_1030named dataConfiguration
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Field Summary
FieldsModifier 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 Summary
ConstructorsConstructorDescriptionGeneratorOptionsHolder(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 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
-
generatorOptions
The field for thegeneratorOptionsrecord component. -
dimensionOptionsRegistry
The field for thedimensionOptionsRegistryrecord component. -
selectedDimensions
The field for theselectedDimensionsrecord component. -
combinedDynamicRegistries
The field for thecombinedDynamicRegistriesrecord component. -
dataPackContents
The field for thedataPackContentsrecord component. -
dataConfiguration
The field for thedataConfigurationrecord component.
-
-
Constructor Details
-
GeneratorOptionsHolder
public GeneratorOptionsHolder(WorldGenSettings worldGenSettings, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, DataPackContents dataPackContents, DataConfiguration dataConfiguration) - Mappings:
Namespace Name Mixin selector official <init>Leyx;<init>(Ldid;Lhl;Lada;Lcnd;)Vintermediary <init>Lnet/minecraft/class_7193;<init>(Lnet/minecraft/class_7726;Lnet/minecraft/class_7780;Lnet/minecraft/class_5350;Lnet/minecraft/class_7712;)Vnamed <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>Leyx;<init>(Ldif;Ldic;Lhl;Lada;Lcnd;)Vintermediary <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;)Vnamed <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 aLeyx;a(Ldif;Ldic;)Leyx;intermediary method_41864Lnet/minecraft/class_7193;method_41864(Lnet/minecraft/class_5285;Lnet/minecraft/class_7723;)Lnet/minecraft/class_7193;named withLnet/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 aLeyx;a(Leyx$b;)Leyx;intermediary method_45690Lnet/minecraft/class_7193;method_45690(Lnet/minecraft/class_7193$class_7194;)Lnet/minecraft/class_7193;named applyLnet/minecraft/client/world/GeneratorOptionsHolder;apply(Lnet/minecraft/client/world/GeneratorOptionsHolder$Modifier;)Lnet/minecraft/client/world/GeneratorOptionsHolder;
-
apply
- Mappings:
Namespace Name Mixin selector official aLeyx;a(Leyx$a;)Leyx;intermediary method_41866Lnet/minecraft/class_7193;method_41866(Lnet/minecraft/class_7193$class_7195;)Lnet/minecraft/class_7193;named applyLnet/minecraft/client/world/GeneratorOptionsHolder;apply(Lnet/minecraft/client/world/GeneratorOptionsHolder$RegistryAwareModifier;)Lnet/minecraft/client/world/GeneratorOptionsHolder;
-
getCombinedRegistryManager
- Mappings:
Namespace Name Mixin selector official aLeyx;a()Lhs$b;intermediary method_45689Lnet/minecraft/class_7193;method_45689()Lnet/minecraft/class_5455$class_6890;named getCombinedRegistryManagerLnet/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 thegeneratorOptionsrecord component.- Returns:
- the value of the
generatorOptionsrecord component
-
dimensionOptionsRegistry
Returns the value of thedimensionOptionsRegistryrecord component.- Returns:
- the value of the
dimensionOptionsRegistryrecord component
-
selectedDimensions
Returns the value of theselectedDimensionsrecord component.- Returns:
- the value of the
selectedDimensionsrecord component
-
combinedDynamicRegistries
Returns the value of thecombinedDynamicRegistriesrecord component.- Returns:
- the value of the
combinedDynamicRegistriesrecord component
-
dataPackContents
Returns the value of thedataPackContentsrecord component.- Returns:
- the value of the
dataPackContentsrecord component
-
dataConfiguration
Returns the value of thedataConfigurationrecord component.- Returns:
- the value of the
dataConfigurationrecord component
-