Package net.minecraft.client.world
Record Class GeneratorOptionsHolder
java.lang.Object
java.lang.Record
net.minecraft.client.world.GeneratorOptionsHolder
- Record Components:
generatorOptions-datapackDimensions-selectedDimensions-worldgenRegistries-dataPackContents-dataConfiguration-
@Environment(CLIENT)
public record GeneratorOptionsHolder(GeneratorOptions generatorOptions, Registry<DimensionOptions> datapackDimensions, class_7723 selectedDimensions, class_7780<class_7659> worldgenRegistries, DataPackContents dataPackContents, class_7712 dataConfiguration)
extends Record
- Mappings:
Namespace Name official esbintermediary net/minecraft/class_7193named net/minecraft/client/world/GeneratorOptionsHolderofficial aintermediary comp_616named generatorOptionsofficial bintermediary comp_1027named datapackDimensionsofficial cintermediary comp_1028named selectedDimensionsofficial dintermediary comp_1029named worldgenRegistriesofficial eintermediary comp_619named dataPackContentsofficial fintermediary comp_1030named dataConfiguration
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_7712The field for thedataConfigurationrecord component.private final DataPackContentsThe field for thedataPackContentsrecord component.private final Registry<DimensionOptions>The field for thedatapackDimensionsrecord component.private final GeneratorOptionsThe field for thegeneratorOptionsrecord component.private final class_7723The field for theselectedDimensionsrecord component.private final class_7780<class_7659>The field for theworldgenRegistriesrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionGeneratorOptionsHolder(class_7726 class_7726, class_7780<class_7659> class_7780, DataPackContents dataPackContents, class_7712 class_7712) GeneratorOptionsHolder(GeneratorOptions generatorOptions, class_7723 class_7723, class_7780<class_7659> class_7780, DataPackContents dataPackContents, class_7712 class_7712) GeneratorOptionsHolder(GeneratorOptions generatorOptions, Registry<DimensionOptions> registry, class_7723 class_7723, class_7780<class_7659> class_7780, DataPackContents dataPackContents, class_7712 class_7712) -
Method Summary
Modifier and TypeMethodDescriptionapply(GeneratorOptionsHolder.RegistryAwareModifier registryAwareModifier) Returns the value of thedataConfigurationrecord component.Returns the value of thedataPackContentsrecord component.Returns the value of thedatapackDimensionsrecord 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.method_45690(GeneratorOptionsHolder.Modifier modifier) Returns the value of theselectedDimensionsrecord component.final StringtoString()Returns a string representation of this record class.with(GeneratorOptions generatorOptions, class_7723 class_7723) Returns the value of theworldgenRegistriesrecord component.
-
Field Details
-
generatorOptions
The field for thegeneratorOptionsrecord component. -
datapackDimensions
The field for thedatapackDimensionsrecord component. -
selectedDimensions
The field for theselectedDimensionsrecord component. -
worldgenRegistries
The field for theworldgenRegistriesrecord component. -
dataPackContents
The field for thedataPackContentsrecord component. -
dataConfiguration
The field for thedataConfigurationrecord component.
-
-
Constructor Details
-
GeneratorOptionsHolder
public GeneratorOptionsHolder(class_7726 class_7726, class_7780<class_7659> class_7780, DataPackContents dataPackContents, class_7712 class_7712) -
GeneratorOptionsHolder
public GeneratorOptionsHolder(GeneratorOptions generatorOptions, class_7723 class_7723, class_7780<class_7659> class_7780, DataPackContents dataPackContents, class_7712 class_7712) -
GeneratorOptionsHolder
public GeneratorOptionsHolder(GeneratorOptions generatorOptions, Registry<DimensionOptions> registry, class_7723 class_7723, class_7780<class_7659> class_7780, DataPackContents dataPackContents, class_7712 class_7712)
-
-
Method Details
-
with
- Mappings:
Namespace Name Mixin selector official aLesb;a(Lddz;Lddw;)Lesb;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/class_7723;)Lnet/minecraft/client/world/GeneratorOptionsHolder;
-
method_45690
- Mappings:
Namespace Name Mixin selector official aLesb;a(Lesb$b;)Lesb;intermediary method_45690Lnet/minecraft/class_7193;method_45690(Lnet/minecraft/class_7193$class_7194;)Lnet/minecraft/class_7193;named method_45690Lnet/minecraft/client/world/GeneratorOptionsHolder;method_45690(Lnet/minecraft/client/world/GeneratorOptionsHolder$Modifier;)Lnet/minecraft/client/world/GeneratorOptionsHolder;
-
apply
public GeneratorOptionsHolder apply(GeneratorOptionsHolder.RegistryAwareModifier registryAwareModifier) - Mappings:
Namespace Name Mixin selector official aLesb;a(Lesb$a;)Lesb;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;
-
method_45689
- Mappings:
Namespace Name Mixin selector official aLesb;a()Lhm$b;intermediary method_45689Lnet/minecraft/class_7193;method_45689()Lnet/minecraft/class_5455$class_6890;named method_45689Lnet/minecraft/client/world/GeneratorOptionsHolder;method_45689()Lnet/minecraft/util/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
-
datapackDimensions
Returns the value of thedatapackDimensionsrecord component.- Returns:
- the value of the
datapackDimensionsrecord component
-
selectedDimensions
Returns the value of theselectedDimensionsrecord component.- Returns:
- the value of the
selectedDimensionsrecord component
-
worldgenRegistries
Returns the value of theworldgenRegistriesrecord component.- Returns:
- the value of the
worldgenRegistriesrecord 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
-