Record Class GeneratorOptionsHolder

java.lang.Object
java.lang.Record
net.minecraft.client.world.GeneratorOptionsHolder
Record Components:
generatorOptions -
worldSettingsStability -
dynamicRegistryManager -
dataPackContents -

@Environment(CLIENT) public record GeneratorOptionsHolder(GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle worldSettingsStability, DynamicRegistryManager.Immutable dynamicRegistryManager, DataPackContents dataPackContents) extends Record
Mappings:
Namespace Name
official epr
intermediary net/minecraft/class_7193
named net/minecraft/client/world/GeneratorOptionsHolder
official a
intermediary comp_616
named generatorOptions
official b
intermediary comp_617
named worldSettingsStability
official c
intermediary comp_618
named dynamicRegistryManager
official d
intermediary comp_619
named dataPackContents
  • Field Details

  • Constructor Details

  • Method Details

    • with

      public GeneratorOptionsHolder with(GeneratorOptions generatorOptions)
      Mappings:
      Namespace Name Mixin selector
      official a Lepr;a(Ldbm;)Lepr;
      intermediary method_41864 Lnet/minecraft/class_7193;method_41864(Lnet/minecraft/class_5285;)Lnet/minecraft/class_7193;
      named with Lnet/minecraft/client/world/GeneratorOptionsHolder;with(Lnet/minecraft/world/gen/GeneratorOptions;)Lnet/minecraft/client/world/GeneratorOptionsHolder;
    • apply

      Mappings:
      Namespace Name Mixin selector
      official a Lepr;a(Lepr$a;)Lepr;
      intermediary method_41865 Lnet/minecraft/class_7193;method_41865(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 Lepr;a(Lepr$b;)Lepr;
      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;
    • 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
    • worldSettingsStability

      public com.mojang.serialization.Lifecycle worldSettingsStability()
      Returns the value of the worldSettingsStability record component.
      Returns:
      the value of the worldSettingsStability record component
    • dynamicRegistryManager

      public DynamicRegistryManager.Immutable dynamicRegistryManager()
      Returns the value of the dynamicRegistryManager record component.
      Returns:
      the value of the dynamicRegistryManager record component
    • dataPackContents

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