Record Class MultiNoiseBiomeSource.Instance

java.lang.Object
java.lang.Record
net.minecraft.world.biome.source.MultiNoiseBiomeSource.Instance
Record Components:
preset -
biomeRegistry -
Enclosing class:
MultiNoiseBiomeSource

private static record MultiNoiseBiomeSource.Instance(MultiNoiseBiomeSource.Preset preset, Registry<Biome> biomeRegistry) extends Record
Mappings:
Namespace Name
official cig$b
intermediary net/minecraft/class_4766$class_5502
named net/minecraft/world/biome/source/MultiNoiseBiomeSource$Instance
official b
intermediary comp_274
named preset
official c
intermediary comp_275
named biomeRegistry
  • Field Details

    • preset

      private final MultiNoiseBiomeSource.Preset preset
      The field for the preset record component.
    • biomeRegistry

      private final Registry<Biome> biomeRegistry
      The field for the biomeRegistry record component.
    • CODEC

      public static final com.mojang.serialization.MapCodec<MultiNoiseBiomeSource.Instance> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lcig$b;a:Lcom/mojang/serialization/MapCodec;
      intermediary field_26694 Lnet/minecraft/class_4766$class_5502;field_26694:Lcom/mojang/serialization/MapCodec;
      named CODEC Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$Instance;CODEC:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

  • Method Details

    • getBiomeSource

      public MultiNoiseBiomeSource getBiomeSource()
      Mappings:
      Namespace Name Mixin selector
      official a Lcig$b;a()Lcig;
      intermediary method_31101 Lnet/minecraft/class_4766$class_5502;method_31101()Lnet/minecraft/class_4766;
      named getBiomeSource Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$Instance;getBiomeSource()Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;
    • 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.
    • preset

      Returns the value of the preset record component.
      Returns:
      the value of the preset record component
    • biomeRegistry

      public Registry<Biome> biomeRegistry()
      Returns the value of the biomeRegistry record component.
      Returns:
      the value of the biomeRegistry record component