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

  • Constructor Details

    • GeneratorOptionsHolder

      public GeneratorOptionsHolder(WorldGenSettings worldGenSettings, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, DataPackContents dataPackContents, DataConfiguration dataConfiguration)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leto;<init>(Ldex;Lhg;Lacp;Lcko;)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
    • GeneratorOptionsHolder

      public GeneratorOptionsHolder(GeneratorOptions generatorOptions, DimensionOptionsRegistryHolder selectedDimensions, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, DataPackContents dataPackContents, DataConfiguration dataConfiguration)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leto;<init>(Ldez;Ldew;Lhg;Lacp;Lcko;)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
    • 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 a Leto;a(Ldez;Ldew;)Leto;
      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 Leto;a(Leto$b;)Leto;
      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 Leto;a(Leto$a;)Leto;
      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

      public DynamicRegistryManager.Immutable getCombinedRegistryManager()
      Mappings:
      Namespace Name Mixin selector
      official a Leto;a()Lhn$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;
    • 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