Record Class NoiseRouter

java.lang.Object
java.lang.Record
net.minecraft.world.level.levelgen.NoiseRouter

public record NoiseRouter(DensityFunction barrierNoise, DensityFunction fluidLevelFloodednessNoise, DensityFunction fluidLevelSpreadNoise, DensityFunction lavaNoise, PositionalRandomFactory aquiferPositionalRandomFactory, PositionalRandomFactory oreVeinsPositionalRandomFactory, DensityFunction temperature, DensityFunction humidity, DensityFunction continents, DensityFunction erosion, DensityFunction depth, DensityFunction ridges, DensityFunction initialDensityWithoutJaggedness, DensityFunction finalDensity, DensityFunction veinToggle, DensityFunction veinRidged, DensityFunction veinGap, List<Climate.ParameterPoint> spawnTarget) extends Record
  • Field Details

    • barrierNoise

      private final DensityFunction barrierNoise
      The field for the barrierNoise record component.
    • fluidLevelFloodednessNoise

      private final DensityFunction fluidLevelFloodednessNoise
      The field for the fluidLevelFloodednessNoise record component.
    • fluidLevelSpreadNoise

      private final DensityFunction fluidLevelSpreadNoise
      The field for the fluidLevelSpreadNoise record component.
    • lavaNoise

      private final DensityFunction lavaNoise
      The field for the lavaNoise record component.
    • aquiferPositionalRandomFactory

      private final PositionalRandomFactory aquiferPositionalRandomFactory
      The field for the aquiferPositionalRandomFactory record component.
    • oreVeinsPositionalRandomFactory

      private final PositionalRandomFactory oreVeinsPositionalRandomFactory
      The field for the oreVeinsPositionalRandomFactory record component.
    • temperature

      private final DensityFunction temperature
      The field for the temperature record component.
    • humidity

      private final DensityFunction humidity
      The field for the humidity record component.
    • continents

      private final DensityFunction continents
      The field for the continents record component.
    • erosion

      private final DensityFunction erosion
      The field for the erosion record component.
    • depth

      private final DensityFunction depth
      The field for the depth record component.
    • ridges

      private final DensityFunction ridges
      The field for the ridges record component.
    • initialDensityWithoutJaggedness

      private final DensityFunction initialDensityWithoutJaggedness
      The field for the initialDensityWithoutJaggedness record component.
    • finalDensity

      private final DensityFunction finalDensity
      The field for the finalDensity record component.
    • veinToggle

      private final DensityFunction veinToggle
      The field for the veinToggle record component.
    • veinRidged

      private final DensityFunction veinRidged
      The field for the veinRidged record component.
    • veinGap

      private final DensityFunction veinGap
      The field for the veinGap record component.
    • spawnTarget

      private final List<Climate.ParameterPoint> spawnTarget
      The field for the spawnTarget record component.
  • Constructor Details

    • NoiseRouter

      public NoiseRouter(DensityFunction barrierNoise, DensityFunction fluidLevelFloodednessNoise, DensityFunction fluidLevelSpreadNoise, DensityFunction lavaNoise, PositionalRandomFactory aquiferPositionalRandomFactory, PositionalRandomFactory oreVeinsPositionalRandomFactory, DensityFunction temperature, DensityFunction humidity, DensityFunction continents, DensityFunction erosion, DensityFunction depth, DensityFunction ridges, DensityFunction initialDensityWithoutJaggedness, DensityFunction finalDensity, DensityFunction veinToggle, DensityFunction veinRidged, DensityFunction veinGap, List<Climate.ParameterPoint> spawnTarget)
      Creates an instance of a NoiseRouter record class.
      Parameters:
      barrierNoise - the value for the barrierNoise record component
      fluidLevelFloodednessNoise - the value for the fluidLevelFloodednessNoise record component
      fluidLevelSpreadNoise - the value for the fluidLevelSpreadNoise record component
      lavaNoise - the value for the lavaNoise record component
      aquiferPositionalRandomFactory - the value for the aquiferPositionalRandomFactory record component
      oreVeinsPositionalRandomFactory - the value for the oreVeinsPositionalRandomFactory record component
      temperature - the value for the temperature record component
      humidity - the value for the humidity record component
      continents - the value for the continents record component
      erosion - the value for the erosion record component
      depth - the value for the depth record component
      ridges - the value for the ridges record component
      initialDensityWithoutJaggedness - the value for the initialDensityWithoutJaggedness record component
      finalDensity - the value for the finalDensity record component
      veinToggle - the value for the veinToggle record component
      veinRidged - the value for the veinRidged record component
      veinGap - the value for the veinGap record component
      spawnTarget - the value for the spawnTarget 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 o)
      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:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • barrierNoise

      public DensityFunction barrierNoise()
      Returns the value of the barrierNoise record component.
      Returns:
      the value of the barrierNoise record component
    • fluidLevelFloodednessNoise

      public DensityFunction fluidLevelFloodednessNoise()
      Returns the value of the fluidLevelFloodednessNoise record component.
      Returns:
      the value of the fluidLevelFloodednessNoise record component
    • fluidLevelSpreadNoise

      public DensityFunction fluidLevelSpreadNoise()
      Returns the value of the fluidLevelSpreadNoise record component.
      Returns:
      the value of the fluidLevelSpreadNoise record component
    • lavaNoise

      public DensityFunction lavaNoise()
      Returns the value of the lavaNoise record component.
      Returns:
      the value of the lavaNoise record component
    • aquiferPositionalRandomFactory

      public PositionalRandomFactory aquiferPositionalRandomFactory()
      Returns the value of the aquiferPositionalRandomFactory record component.
      Returns:
      the value of the aquiferPositionalRandomFactory record component
    • oreVeinsPositionalRandomFactory

      public PositionalRandomFactory oreVeinsPositionalRandomFactory()
      Returns the value of the oreVeinsPositionalRandomFactory record component.
      Returns:
      the value of the oreVeinsPositionalRandomFactory record component
    • temperature

      public DensityFunction temperature()
      Returns the value of the temperature record component.
      Returns:
      the value of the temperature record component
    • humidity

      public DensityFunction humidity()
      Returns the value of the humidity record component.
      Returns:
      the value of the humidity record component
    • continents

      public DensityFunction continents()
      Returns the value of the continents record component.
      Returns:
      the value of the continents record component
    • erosion

      public DensityFunction erosion()
      Returns the value of the erosion record component.
      Returns:
      the value of the erosion record component
    • depth

      public DensityFunction depth()
      Returns the value of the depth record component.
      Returns:
      the value of the depth record component
    • ridges

      public DensityFunction ridges()
      Returns the value of the ridges record component.
      Returns:
      the value of the ridges record component
    • initialDensityWithoutJaggedness

      public DensityFunction initialDensityWithoutJaggedness()
      Returns the value of the initialDensityWithoutJaggedness record component.
      Returns:
      the value of the initialDensityWithoutJaggedness record component
    • finalDensity

      public DensityFunction finalDensity()
      Returns the value of the finalDensity record component.
      Returns:
      the value of the finalDensity record component
    • veinToggle

      public DensityFunction veinToggle()
      Returns the value of the veinToggle record component.
      Returns:
      the value of the veinToggle record component
    • veinRidged

      public DensityFunction veinRidged()
      Returns the value of the veinRidged record component.
      Returns:
      the value of the veinRidged record component
    • veinGap

      public DensityFunction veinGap()
      Returns the value of the veinGap record component.
      Returns:
      the value of the veinGap record component
    • spawnTarget

      public List<Climate.ParameterPoint> spawnTarget()
      Returns the value of the spawnTarget record component.
      Returns:
      the value of the spawnTarget record component