Record Class VanillaTerrainParameters.NoisePoint

java.lang.Object
java.lang.Record
net.minecraft.world.biome.source.util.VanillaTerrainParameters.NoisePoint
Record Components:
continentalnessNoise -
erosionNoise -
normalizedWeirdness -
weirdnessNoise -
Enclosing class:
VanillaTerrainParameters

public static record VanillaTerrainParameters.NoisePoint(float continentalnessNoise, float erosionNoise, float normalizedWeirdness, float weirdnessNoise) extends Record
Mappings:
Namespace Name
official cce$c
intermediary net/minecraft/class_6555$class_6556
named net/minecraft/world/biome/source/util/VanillaTerrainParameters$NoisePoint
official a
intermediary comp_235
named continentalnessNoise
official b
intermediary comp_236
named erosionNoise
official c
intermediary comp_237
named normalizedWeirdness
official d
intermediary comp_238
named weirdnessNoise
  • Field Details

    • continentalnessNoise

      private final float continentalnessNoise
      The field for the continentalnessNoise record component.
    • erosionNoise

      private final float erosionNoise
      The field for the erosionNoise record component.
    • normalizedWeirdness

      private final float normalizedWeirdness
      The field for the normalizedWeirdness record component.
    • weirdnessNoise

      private final float weirdnessNoise
      The field for the weirdnessNoise record component.
  • Constructor Details

    • NoisePoint

      public NoisePoint(float continentalnessNoise, float erosionNoise, float normalizedWeirdness, float weirdnessNoise)
      Creates an instance of a NoisePoint record class.
      Parameters:
      continentalnessNoise - the value for the continentalnessNoise record component
      erosionNoise - the value for the erosionNoise record component
      normalizedWeirdness - the value for the normalizedWeirdness record component
      weirdnessNoise - the value for the weirdnessNoise record component
  • Method Details

    • 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 '=='.
      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.
    • continentalnessNoise

      public float continentalnessNoise()
      Returns the value of the continentalnessNoise record component.
      Returns:
      the value of the continentalnessNoise record component
    • erosionNoise

      public float erosionNoise()
      Returns the value of the erosionNoise record component.
      Returns:
      the value of the erosionNoise record component
    • normalizedWeirdness

      public float normalizedWeirdness()
      Returns the value of the normalizedWeirdness record component.
      Returns:
      the value of the normalizedWeirdness record component
    • weirdnessNoise

      public float weirdnessNoise()
      Returns the value of the weirdnessNoise record component.
      Returns:
      the value of the weirdnessNoise record component