Record Class StoneClusterConfiguration

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

public record StoneClusterConfiguration(int floorToCeilingSearchRange, net.minecraft.world.level.levelgen.feature.stateproviders.BlockStateProvider stone_provider, net.minecraft.world.level.material.FluidState fluid_provider, net.minecraft.util.valueproviders.IntProvider height, net.minecraft.util.valueproviders.IntProvider radius, int maxStalagmiteStalactiteHeightDiff, int heightDeviation, net.minecraft.util.valueproviders.IntProvider dripstoneBlockLayerThickness, net.minecraft.util.valueproviders.FloatProvider density, net.minecraft.util.valueproviders.FloatProvider wetness, net.minecraft.util.valueproviders.FloatProvider lavaness, net.minecraft.util.valueproviders.FloatProvider thirdthingness, float chanceOfDripstoneColumnAtMaxDistanceFromCenter, int maxDistanceFromEdgeAffectingChanceOfDripstoneColumn, int maxDistanceFromCenterAffectingHeightBias) 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<StoneClusterConfiguration>
     

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

    NONE
  • Constructor Summary

    Constructors
    Constructor
    Description
    StoneClusterConfiguration(int floorToCeilingSearchRange, net.minecraft.world.level.levelgen.feature.stateproviders.BlockStateProvider stone_provider, net.minecraft.world.level.material.FluidState fluid_provider, net.minecraft.util.valueproviders.IntProvider height, net.minecraft.util.valueproviders.IntProvider radius, int maxStalagmiteStalactiteHeightDiff, int heightDeviation, net.minecraft.util.valueproviders.IntProvider dripstoneBlockLayerThickness, net.minecraft.util.valueproviders.FloatProvider density, net.minecraft.util.valueproviders.FloatProvider wetness, net.minecraft.util.valueproviders.FloatProvider lavaness, net.minecraft.util.valueproviders.FloatProvider thirdthingness, float chanceOfDripstoneColumnAtMaxDistanceFromCenter, int maxDistanceFromEdgeAffectingChanceOfDripstoneColumn, int maxDistanceFromCenterAffectingHeightBias)
    Creates an instance of a StoneClusterConfiguration record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    Returns the value of the chanceOfDripstoneColumnAtMaxDistanceFromCenter record component.
    net.minecraft.util.valueproviders.FloatProvider
    Returns the value of the density record component.
    net.minecraft.util.valueproviders.IntProvider
    Returns the value of the dripstoneBlockLayerThickness record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    int
    Returns the value of the floorToCeilingSearchRange record component.
    net.minecraft.world.level.material.FluidState
    Returns the value of the fluid_provider record component.
    final int
    Returns a hash code value for this object.
    net.minecraft.util.valueproviders.IntProvider
    Returns the value of the height record component.
    int
    Returns the value of the heightDeviation record component.
    net.minecraft.util.valueproviders.FloatProvider
    Returns the value of the lavaness record component.
    int
    Returns the value of the maxDistanceFromCenterAffectingHeightBias record component.
    int
    Returns the value of the maxDistanceFromEdgeAffectingChanceOfDripstoneColumn record component.
    int
    Returns the value of the maxStalagmiteStalactiteHeightDiff record component.
    net.minecraft.util.valueproviders.IntProvider
    Returns the value of the radius record component.
    net.minecraft.world.level.levelgen.feature.stateproviders.BlockStateProvider
    Returns the value of the stone_provider record component.
    net.minecraft.util.valueproviders.FloatProvider
    Returns the value of the thirdthingness record component.
    final String
    Returns a string representation of this record class.
    net.minecraft.util.valueproviders.FloatProvider
    Returns the value of the wetness 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

    • StoneClusterConfiguration

      public StoneClusterConfiguration(int floorToCeilingSearchRange, net.minecraft.world.level.levelgen.feature.stateproviders.BlockStateProvider stone_provider, net.minecraft.world.level.material.FluidState fluid_provider, net.minecraft.util.valueproviders.IntProvider height, net.minecraft.util.valueproviders.IntProvider radius, int maxStalagmiteStalactiteHeightDiff, int heightDeviation, net.minecraft.util.valueproviders.IntProvider dripstoneBlockLayerThickness, net.minecraft.util.valueproviders.FloatProvider density, net.minecraft.util.valueproviders.FloatProvider wetness, net.minecraft.util.valueproviders.FloatProvider lavaness, net.minecraft.util.valueproviders.FloatProvider thirdthingness, float chanceOfDripstoneColumnAtMaxDistanceFromCenter, int maxDistanceFromEdgeAffectingChanceOfDripstoneColumn, int maxDistanceFromCenterAffectingHeightBias)
      Creates an instance of a StoneClusterConfiguration record class.
      Parameters:
      floorToCeilingSearchRange - the value for the floorToCeilingSearchRange record component
      stone_provider - the value for the stone_provider record component
      fluid_provider - the value for the fluid_provider record component
      height - the value for the height record component
      radius - the value for the radius record component
      maxStalagmiteStalactiteHeightDiff - the value for the maxStalagmiteStalactiteHeightDiff record component
      heightDeviation - the value for the heightDeviation record component
      dripstoneBlockLayerThickness - the value for the dripstoneBlockLayerThickness record component
      density - the value for the density record component
      wetness - the value for the wetness record component
      lavaness - the value for the lavaness record component
      thirdthingness - the value for the thirdthingness record component
      chanceOfDripstoneColumnAtMaxDistanceFromCenter - the value for the chanceOfDripstoneColumnAtMaxDistanceFromCenter record component
      maxDistanceFromEdgeAffectingChanceOfDripstoneColumn - the value for the maxDistanceFromEdgeAffectingChanceOfDripstoneColumn record component
      maxDistanceFromCenterAffectingHeightBias - the value for the maxDistanceFromCenterAffectingHeightBias 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
    • stone_provider

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

      public net.minecraft.world.level.material.FluidState fluid_provider()
      Returns the value of the fluid_provider record component.
      Returns:
      the value of the fluid_provider record component
    • height

      public net.minecraft.util.valueproviders.IntProvider height()
      Returns the value of the height record component.
      Returns:
      the value of the height record component
    • radius

      public net.minecraft.util.valueproviders.IntProvider radius()
      Returns the value of the radius record component.
      Returns:
      the value of the radius record component
    • maxStalagmiteStalactiteHeightDiff

      public int maxStalagmiteStalactiteHeightDiff()
      Returns the value of the maxStalagmiteStalactiteHeightDiff record component.
      Returns:
      the value of the maxStalagmiteStalactiteHeightDiff record component
    • heightDeviation

      public int heightDeviation()
      Returns the value of the heightDeviation record component.
      Returns:
      the value of the heightDeviation record component
    • dripstoneBlockLayerThickness

      public net.minecraft.util.valueproviders.IntProvider dripstoneBlockLayerThickness()
      Returns the value of the dripstoneBlockLayerThickness record component.
      Returns:
      the value of the dripstoneBlockLayerThickness record component
    • density

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

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

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

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

      public float chanceOfDripstoneColumnAtMaxDistanceFromCenter()
      Returns the value of the chanceOfDripstoneColumnAtMaxDistanceFromCenter record component.
      Returns:
      the value of the chanceOfDripstoneColumnAtMaxDistanceFromCenter record component
    • maxDistanceFromEdgeAffectingChanceOfDripstoneColumn

      public int maxDistanceFromEdgeAffectingChanceOfDripstoneColumn()
      Returns the value of the maxDistanceFromEdgeAffectingChanceOfDripstoneColumn record component.
      Returns:
      the value of the maxDistanceFromEdgeAffectingChanceOfDripstoneColumn record component
    • maxDistanceFromCenterAffectingHeightBias

      public int maxDistanceFromCenterAffectingHeightBias()
      Returns the value of the maxDistanceFromCenterAffectingHeightBias record component.
      Returns:
      the value of the maxDistanceFromCenterAffectingHeightBias record component