Record Class NoiseRouter.Slots

java.lang.Object
java.lang.Record
dev.wyck.wrapper.level.noise.NoiseRouter.Slots
Enclosing interface:
NoiseRouter

@NullUnmarked @AsOf("2.4.0") public static record NoiseRouter.Slots(DensityFunction barrier, DensityFunction fluidLevelFloodedness, DensityFunction fluidLevelSpread, DensityFunction lava, DensityFunction temperature, DensityFunction vegetation, DensityFunction continents, DensityFunction erosion, DensityFunction depth, DensityFunction ridges, DensityFunction preliminarySurfaceLevel, DensityFunction finalDensity, DensityFunction veinToggle, DensityFunction veinRidged, DensityFunction veinGap) extends Record
The density-function slots backing this router.
Since:
2.4.0
  • Constructor Details

    • Slots

      public Slots(DensityFunction barrier, DensityFunction fluidLevelFloodedness, DensityFunction fluidLevelSpread, DensityFunction lava, DensityFunction temperature, DensityFunction vegetation, DensityFunction continents, DensityFunction erosion, DensityFunction depth, DensityFunction ridges, DensityFunction preliminarySurfaceLevel, DensityFunction finalDensity, DensityFunction veinToggle, DensityFunction veinRidged, DensityFunction veinGap)
      Creates an instance of a Slots record class.
      Parameters:
      barrier - the value for the barrier record component
      fluidLevelFloodedness - the value for the fluidLevelFloodedness record component
      fluidLevelSpread - the value for the fluidLevelSpread record component
      lava - the value for the lava record component
      temperature - the value for the temperature record component
      vegetation - the value for the vegetation 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
      preliminarySurfaceLevel - the value for the preliminarySurfaceLevel 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
  • 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.
    • barrier

      public DensityFunction barrier()
      Returns the value of the barrier record component.
      Returns:
      the value of the barrier record component
    • fluidLevelFloodedness

      public DensityFunction fluidLevelFloodedness()
      Returns the value of the fluidLevelFloodedness record component.
      Returns:
      the value of the fluidLevelFloodedness record component
    • fluidLevelSpread

      public DensityFunction fluidLevelSpread()
      Returns the value of the fluidLevelSpread record component.
      Returns:
      the value of the fluidLevelSpread record component
    • lava

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

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

      public DensityFunction vegetation()
      Returns the value of the vegetation record component.
      Returns:
      the value of the vegetation 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
    • preliminarySurfaceLevel

      public DensityFunction preliminarySurfaceLevel()
      Returns the value of the preliminarySurfaceLevel record component.
      Returns:
      the value of the preliminarySurfaceLevel 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