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
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<StoneColumnConfiguration> Fields inherited from interface net.minecraft.world.level.levelgen.feature.configurations.FeatureConfiguration
NONE -
Constructor Summary
ConstructorsConstructorDescriptionStoneColumnConfiguration(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 aStoneColumnConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.util.valueproviders.IntProviderReturns the value of thecolumnRadiusrecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of thefloorToCeilingSearchRangerecord component.final inthashCode()Returns a hash code value for this object.net.minecraft.util.valueproviders.FloatProviderReturns the value of theheightScalerecord component.floatReturns the value of themaxColumnRadiusToCaveHeightRatiorecord component.floatReturns the value of theminBluntnessForWindrecord component.intReturns the value of theminRadiusForWindrecord component.net.minecraft.util.valueproviders.FloatProviderReturns the value of thestalactiteBluntnessrecord component.net.minecraft.util.valueproviders.FloatProviderReturns the value of thestalagmiteBluntnessrecord component.net.minecraft.world.level.levelgen.feature.stateproviders.BlockStateProviderReturns the value of thestoneProviderrecord component.final StringtoString()Returns a string representation of this record class.net.minecraft.util.valueproviders.FloatProviderReturns the value of thewindSpeedrecord component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.level.levelgen.feature.configurations.FeatureConfiguration
getFeatures
-
Field Details
-
CODEC
-
-
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 aStoneColumnConfigurationrecord class.- Parameters:
floorToCeilingSearchRange- the value for thefloorToCeilingSearchRangerecord componentcolumnRadius- the value for thecolumnRadiusrecord componentheightScale- the value for theheightScalerecord componentmaxColumnRadiusToCaveHeightRatio- the value for themaxColumnRadiusToCaveHeightRatiorecord componentstalactiteBluntness- the value for thestalactiteBluntnessrecord componentstalagmiteBluntness- the value for thestalagmiteBluntnessrecord componentwindSpeed- the value for thewindSpeedrecord componentminRadiusForWind- the value for theminRadiusForWindrecord componentminBluntnessForWind- the value for theminBluntnessForWindrecord componentstoneProvider- the value for thestoneProviderrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
floorToCeilingSearchRange
public int floorToCeilingSearchRange()Returns the value of thefloorToCeilingSearchRangerecord component.- Returns:
- the value of the
floorToCeilingSearchRangerecord component
-
columnRadius
public net.minecraft.util.valueproviders.IntProvider columnRadius()Returns the value of thecolumnRadiusrecord component.- Returns:
- the value of the
columnRadiusrecord component
-
heightScale
public net.minecraft.util.valueproviders.FloatProvider heightScale()Returns the value of theheightScalerecord component.- Returns:
- the value of the
heightScalerecord component
-
maxColumnRadiusToCaveHeightRatio
public float maxColumnRadiusToCaveHeightRatio()Returns the value of themaxColumnRadiusToCaveHeightRatiorecord component.- Returns:
- the value of the
maxColumnRadiusToCaveHeightRatiorecord component
-
stalactiteBluntness
public net.minecraft.util.valueproviders.FloatProvider stalactiteBluntness()Returns the value of thestalactiteBluntnessrecord component.- Returns:
- the value of the
stalactiteBluntnessrecord component
-
stalagmiteBluntness
public net.minecraft.util.valueproviders.FloatProvider stalagmiteBluntness()Returns the value of thestalagmiteBluntnessrecord component.- Returns:
- the value of the
stalagmiteBluntnessrecord component
-
windSpeed
public net.minecraft.util.valueproviders.FloatProvider windSpeed()Returns the value of thewindSpeedrecord component.- Returns:
- the value of the
windSpeedrecord component
-
minRadiusForWind
public int minRadiusForWind()Returns the value of theminRadiusForWindrecord component.- Returns:
- the value of the
minRadiusForWindrecord component
-
minBluntnessForWind
public float minBluntnessForWind()Returns the value of theminBluntnessForWindrecord component.- Returns:
- the value of the
minBluntnessForWindrecord component
-
stoneProvider
public net.minecraft.world.level.levelgen.feature.stateproviders.BlockStateProvider stoneProvider()Returns the value of thestoneProviderrecord component.- Returns:
- the value of the
stoneProviderrecord component
-