Record Class MultiNoiseBiomeSourceParameterList.Preset

java.lang.Object
java.lang.Record
net.minecraft.world.biome.source.MultiNoiseBiomeSourceParameterList.Preset
Record Components:
id -
biomeSourceFunction -
Enclosing class:
MultiNoiseBiomeSourceParameterList

public static record MultiNoiseBiomeSourceParameterList.Preset(Identifier id, MultiNoiseBiomeSourceParameterList.Preset.BiomeSourceFunction biomeSourceFunction) extends Record
Mappings:
Namespace Name
named net/minecraft/world/biome/source/MultiNoiseBiomeSourceParameterList$Preset
intermediary net/minecraft/class_8197$class_5305
official ddm$a
named id
intermediary comp_1309
official d
named biomeSourceFunction
intermediary comp_1310
official e
  • Field Details

    • id

      private final Identifier id
      The field for the id record component.
    • biomeSourceFunction

      The field for the biomeSourceFunction record component.
    • NETHER

      public static final MultiNoiseBiomeSourceParameterList.Preset NETHER
      Mappings:
      Namespace Name Mixin selector
      named NETHER Lnet/minecraft/world/biome/source/MultiNoiseBiomeSourceParameterList$Preset;NETHER:Lnet/minecraft/world/biome/source/MultiNoiseBiomeSourceParameterList$Preset;
      intermediary field_24723 Lnet/minecraft/class_8197$class_5305;field_24723:Lnet/minecraft/class_8197$class_5305;
      official a Lddm$a;a:Lddm$a;
    • OVERWORLD

      public static final MultiNoiseBiomeSourceParameterList.Preset OVERWORLD
      Mappings:
      Namespace Name Mixin selector
      named OVERWORLD Lnet/minecraft/world/biome/source/MultiNoiseBiomeSourceParameterList$Preset;OVERWORLD:Lnet/minecraft/world/biome/source/MultiNoiseBiomeSourceParameterList$Preset;
      intermediary field_34499 Lnet/minecraft/class_8197$class_5305;field_34499:Lnet/minecraft/class_8197$class_5305;
      official b Lddm$a;b:Lddm$a;
    • BY_IDENTIFIER

      Mappings:
      Namespace Name Mixin selector
      named BY_IDENTIFIER Lnet/minecraft/world/biome/source/MultiNoiseBiomeSourceParameterList$Preset;BY_IDENTIFIER:Ljava/util/Map;
      intermediary field_24724 Lnet/minecraft/class_8197$class_5305;field_24724:Ljava/util/Map;
      official f Lddm$a;f:Ljava/util/Map;
    • CODEC

      public static final com.mojang.serialization.Codec<MultiNoiseBiomeSourceParameterList.Preset> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/biome/source/MultiNoiseBiomeSourceParameterList$Preset;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_42990 Lnet/minecraft/class_8197$class_5305;field_42990:Lcom/mojang/serialization/Codec;
      official c Lddm$a;c:Lcom/mojang/serialization/Codec;
  • Constructor Details

  • Method Details

    • getOverworldEntries

      static <T> MultiNoiseUtil.Entries<T> getOverworldEntries(Function<RegistryKey<Biome>,T> biomeEntryGetter)
      Mappings:
      Namespace Name Mixin selector
      named getOverworldEntries Lnet/minecraft/world/biome/source/MultiNoiseBiomeSourceParameterList$Preset;getOverworldEntries(Ljava/util/function/Function;)Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;
      intermediary method_49193 Lnet/minecraft/class_8197$class_5305;method_49193(Ljava/util/function/Function;)Lnet/minecraft/class_6544$class_6547;
      official a Lddm$a;a(Ljava/util/function/Function;)Lddh$c;
    • biomeStream

      public Stream<RegistryKey<Biome>> biomeStream()
      Mappings:
      Namespace Name Mixin selector
      named biomeStream Lnet/minecraft/world/biome/source/MultiNoiseBiomeSourceParameterList$Preset;biomeStream()Ljava/util/stream/Stream;
      intermediary method_49514 Lnet/minecraft/class_8197$class_5305;method_49514()Ljava/util/stream/Stream;
      official a Lddm$a;a()Ljava/util/stream/Stream;
    • 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.
    • id

      public Identifier id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • biomeSourceFunction

      Returns the value of the biomeSourceFunction record component.
      Returns:
      the value of the biomeSourceFunction record component