Record Class FeatureConfiguration.LargeDripstoneConfiguration

java.lang.Object
java.lang.Record
dev.wyck.wrapper.worldgen.feature.config.FeatureConfiguration.LargeDripstoneConfiguration
All Implemented Interfaces:
Wrapper, FeatureConfiguration
Enclosing interface:
FeatureConfiguration

@AsOf("3.0.0") public static record FeatureConfiguration.LargeDripstoneConfiguration(int floorToCeilingSearchRange, IntProvider columnRadius, FloatProvider heightScale, float maxColumnRadiusToCaveHeightRatio, FloatProvider stalactiteBluntness, FloatProvider stalagmiteBluntness, FloatProvider windSpeed, int minRadiusForWind, float minBluntnessForWind) extends Record implements FeatureConfiguration
A large dripstone.
Since:
3.0.0
  • Constructor Details

    • LargeDripstoneConfiguration

      @AsOf("3.0.0") public LargeDripstoneConfiguration(int floorToCeilingSearchRange, IntProvider columnRadius, FloatProvider heightScale, float maxColumnRadiusToCaveHeightRatio, FloatProvider stalactiteBluntness, FloatProvider stalagmiteBluntness, FloatProvider windSpeed, int minRadiusForWind, float minBluntnessForWind)
      Creates an instance of a LargeDripstoneConfiguration record class.
      Parameters:
      floorToCeilingSearchRange - the value for the floorToCeilingSearchRange record component
      columnRadius - the value for the columnRadius record component
      heightScale - the value for the heightScale record component
      maxColumnRadiusToCaveHeightRatio - the value for the maxColumnRadiusToCaveHeightRatio record component
      stalactiteBluntness - the value for the stalactiteBluntness record component
      stalagmiteBluntness - the value for the stalagmiteBluntness record component
      windSpeed - the value for the windSpeed record component
      minRadiusForWind - the value for the minRadiusForWind record component
      minBluntnessForWind - the value for the minBluntnessForWind record component
  • Method Details

    • builder

    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      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.
    • floorToCeilingSearchRange

      public int floorToCeilingSearchRange()
      Returns the value of the floorToCeilingSearchRange record component.
      Returns:
      the value of the floorToCeilingSearchRange record component
    • columnRadius

      public IntProvider columnRadius()
      Returns the value of the columnRadius record component.
      Returns:
      the value of the columnRadius record component
    • heightScale

      public FloatProvider heightScale()
      Returns the value of the heightScale record component.
      Returns:
      the value of the heightScale record component
    • maxColumnRadiusToCaveHeightRatio

      public float maxColumnRadiusToCaveHeightRatio()
      Returns the value of the maxColumnRadiusToCaveHeightRatio record component.
      Returns:
      the value of the maxColumnRadiusToCaveHeightRatio record component
    • stalactiteBluntness

      public FloatProvider stalactiteBluntness()
      Returns the value of the stalactiteBluntness record component.
      Returns:
      the value of the stalactiteBluntness record component
    • stalagmiteBluntness

      public FloatProvider stalagmiteBluntness()
      Returns the value of the stalagmiteBluntness record component.
      Returns:
      the value of the stalagmiteBluntness record component
    • windSpeed

      public FloatProvider windSpeed()
      Returns the value of the windSpeed record component.
      Returns:
      the value of the windSpeed record component
    • minRadiusForWind

      public int minRadiusForWind()
      Returns the value of the minRadiusForWind record component.
      Returns:
      the value of the minRadiusForWind record component
    • minBluntnessForWind

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