Record Class StoneColumnConfiguration

java.lang.Object
java.lang.Record
com.lightning.northstar.world.features.configuration.StoneColumnConfiguration
All Implemented Interfaces:
net.minecraft.world.level.levelgen.feature.configurations.FeatureConfiguration

public record StoneColumnConfiguration(int floorToCeilingSearchRange, net.minecraft.util.valueproviders.IntProvider columnRadius, net.minecraft.util.valueproviders.FloatProvider heightScale, float maxColumnRadiusToCaveHeightRatio, net.minecraft.util.valueproviders.FloatProvider stalactiteBluntness, net.minecraft.util.valueproviders.FloatProvider stalagmiteBluntness, net.minecraft.util.valueproviders.FloatProvider windSpeed, int minRadiusForWind, float minBluntnessForWind, net.minecraft.world.level.levelgen.feature.stateproviders.BlockStateProvider stoneProvider) extends Record implements net.minecraft.world.level.levelgen.feature.configurations.FeatureConfiguration
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.Codec<StoneColumnConfiguration>
     

    Fields inherited from interface net.minecraft.world.level.levelgen.feature.configurations.FeatureConfiguration

    NONE
  • Constructor Summary

    Constructors
    Constructor
    Description
    StoneColumnConfiguration(int floorToCeilingSearchRange, net.minecraft.util.valueproviders.IntProvider columnRadius, net.minecraft.util.valueproviders.FloatProvider heightScale, float maxColumnRadiusToCaveHeightRatio, net.minecraft.util.valueproviders.FloatProvider stalactiteBluntness, net.minecraft.util.valueproviders.FloatProvider stalagmiteBluntness, net.minecraft.util.valueproviders.FloatProvider windSpeed, int minRadiusForWind, float minBluntnessForWind, net.minecraft.world.level.levelgen.feature.stateproviders.BlockStateProvider stoneProvider)
    Creates an instance of a StoneColumnConfiguration record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.util.valueproviders.IntProvider
    Returns the value of the columnRadius record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    int
    Returns the value of the floorToCeilingSearchRange record component.
    final int
    Returns a hash code value for this object.
    net.minecraft.util.valueproviders.FloatProvider
    Returns the value of the heightScale record component.
    float
    Returns the value of the maxColumnRadiusToCaveHeightRatio record component.
    float
    Returns the value of the minBluntnessForWind record component.
    int
    Returns the value of the minRadiusForWind record component.
    net.minecraft.util.valueproviders.FloatProvider
    Returns the value of the stalactiteBluntness record component.
    net.minecraft.util.valueproviders.FloatProvider
    Returns the value of the stalagmiteBluntness record component.
    net.minecraft.world.level.levelgen.feature.stateproviders.BlockStateProvider
    Returns the value of the stoneProvider record component.
    final String
    Returns a string representation of this record class.
    net.minecraft.util.valueproviders.FloatProvider
    Returns the value of the windSpeed record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.minecraft.world.level.levelgen.feature.configurations.FeatureConfiguration

    getFeatures
  • Field Details

  • Constructor Details

    • StoneColumnConfiguration

      public StoneColumnConfiguration(int floorToCeilingSearchRange, net.minecraft.util.valueproviders.IntProvider columnRadius, net.minecraft.util.valueproviders.FloatProvider heightScale, float maxColumnRadiusToCaveHeightRatio, net.minecraft.util.valueproviders.FloatProvider stalactiteBluntness, net.minecraft.util.valueproviders.FloatProvider stalagmiteBluntness, net.minecraft.util.valueproviders.FloatProvider windSpeed, int minRadiusForWind, float minBluntnessForWind, net.minecraft.world.level.levelgen.feature.stateproviders.BlockStateProvider stoneProvider)
      Creates an instance of a StoneColumnConfiguration 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
      stoneProvider - the value for the stoneProvider 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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 net.minecraft.util.valueproviders.IntProvider columnRadius()
      Returns the value of the columnRadius record component.
      Returns:
      the value of the columnRadius record component
    • heightScale

      public net.minecraft.util.valueproviders.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 net.minecraft.util.valueproviders.FloatProvider stalactiteBluntness()
      Returns the value of the stalactiteBluntness record component.
      Returns:
      the value of the stalactiteBluntness record component
    • stalagmiteBluntness

      public net.minecraft.util.valueproviders.FloatProvider stalagmiteBluntness()
      Returns the value of the stalagmiteBluntness record component.
      Returns:
      the value of the stalagmiteBluntness record component
    • windSpeed

      public net.minecraft.util.valueproviders.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
    • stoneProvider

      public net.minecraft.world.level.levelgen.feature.stateproviders.BlockStateProvider stoneProvider()
      Returns the value of the stoneProvider record component.
      Returns:
      the value of the stoneProvider record component