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 fsq
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
  • Field Details

  • 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> Lfsq;<init>(Ldzc;Ljq;Lakv;Lddb;)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> Lfsq;<init>(Ldze;Ldzb;Ljq;Lakv;Lddb;)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 Lfsq;a(Ldze;Ldzb;)Lfsq;
    • 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 Lfsq;a(Lfsq$b;)Lfsq;
    • 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 Lfsq;a(Lfsq$a;)Lfsq;
    • getCombinedRegistryManager

      public DynamicRegistryManager.Immutable 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 Lfsq;a()Ljx$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 Lfsq;b()V
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • generatorOptions

      public GeneratorOptions generatorOptions()
      Returns the value of the generatorOptions record component.
      Returns:
      the value of the generatorOptions record component
    • dimensionOptionsRegistry

      public Registry<DimensionOptions> dimensionOptionsRegistry()
      Returns the value of the dimensionOptionsRegistry record component.
      Returns:
      the value of the dimensionOptionsRegistry record component
    • selectedDimensions

      public DimensionOptionsRegistryHolder selectedDimensions()
      Returns the value of the selectedDimensions record component.
      Returns:
      the value of the selectedDimensions record component
    • combinedDynamicRegistries

      public CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries()
      Returns the value of the combinedDynamicRegistries record component.
      Returns:
      the value of the combinedDynamicRegistries record component
    • dataPackContents

      public DataPackContents dataPackContents()
      Returns the value of the dataPackContents record component.
      Returns:
      the value of the dataPackContents record component
    • dataConfiguration

      public DataConfiguration dataConfiguration()
      Returns the value of the dataConfiguration record component.
      Returns:
      the value of the dataConfiguration record component