Uses of Interface
net.minecraft.util.CubicSpline
Package
Description
-
Uses of CubicSpline in net.minecraft.util
Modifier and TypeClassDescriptionstatic final record
static final record
Modifier and TypeFieldDescriptionprivate final List<CubicSpline<C>>
CubicSpline.Builder.values
private final List<CubicSpline<C>>
CubicSpline.Multipoint.values
The field for thevalues
record component.Modifier and TypeMethodDescriptionCubicSpline.Builder.build()
static <C> CubicSpline<C>
CubicSpline.constant
(float p_184240_) CubicSpline.Constant.mapAll
(CubicSpline.CoordinateVisitor<C> p_211581_) CubicSpline.mapAll
(CubicSpline.CoordinateVisitor<C> p_211579_) CubicSpline.Multipoint.mapAll
(CubicSpline.CoordinateVisitor<C> p_211585_) Modifier and TypeMethodDescriptionstatic <C> com.mojang.serialization.Codec<CubicSpline<C>>
CubicSpline.codec
(com.mojang.serialization.Codec<ToFloatFunction<C>> p_184263_) List<CubicSpline<C>>
CubicSpline.Multipoint.values()
Returns the value of thevalues
record component.Modifier and TypeMethodDescriptionCubicSpline.Builder.addPoint
(float p_184303_, CubicSpline<C> p_184304_, float p_184305_) ModifierConstructorDescriptionMultipoint
(ToFloatFunction<C> coordinate, float[] locations, List<CubicSpline<C>> values, float[] derivatives) Creates an instance of aMultipoint
record class. -
Uses of CubicSpline in net.minecraft.world.level.biome
Modifier and TypeFieldDescriptionprivate final CubicSpline<TerrainShaper.Point>
TerrainShaper.factorSampler
The field for thefactorSampler
record component.private final CubicSpline<TerrainShaper.Point>
TerrainShaper.jaggednessSampler
The field for thejaggednessSampler
record component.private final CubicSpline<TerrainShaper.Point>
TerrainShaper.offsetSampler
The field for theoffsetSampler
record component.Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<CubicSpline<TerrainShaper.Point>>
TerrainShaper.SPLINE_CODEC
static final com.mojang.serialization.Codec<CubicSpline<TerrainShaper.PointCustom>>
TerrainShaper.SPLINE_CUSTOM_CODEC
Modifier and TypeMethodDescriptionprivate static CubicSpline<TerrainShaper.Point>
TerrainShaper.buildErosionJaggednessSpline
(float p_187295_, float p_187296_, float p_187297_, float p_187298_, ToFloatFunction<Float> p_187299_) private static CubicSpline<TerrainShaper.Point>
TerrainShaper.buildErosionOffsetSpline
(float p_187285_, float p_187286_, float p_187287_, float p_187288_, float p_187289_, float p_187290_, boolean p_187291_, boolean p_187292_, ToFloatFunction<Float> p_187293_) private static CubicSpline<TerrainShaper.Point>
TerrainShaper.buildMountainRidgeSplineWithPoints
(float p_187331_, boolean p_187332_, ToFloatFunction<Float> p_187333_) private static CubicSpline<TerrainShaper.Point>
TerrainShaper.buildRidgeJaggednessSpline
(float p_187301_, float p_187302_, ToFloatFunction<Float> p_187303_) private static CubicSpline<TerrainShaper.Point>
TerrainShaper.buildWeirdnessJaggednessSpline
(float p_187305_, ToFloatFunction<Float> p_187306_) TerrainShaper.factorSampler()
Returns the value of thefactorSampler
record component.private static CubicSpline<TerrainShaper.Point>
TerrainShaper.getErosionFactor
(float p_187308_, boolean p_187309_, ToFloatFunction<Float> p_187310_) TerrainShaper.jaggednessSampler()
Returns the value of thejaggednessSampler
record component.TerrainShaper.offsetSampler()
Returns the value of theoffsetSampler
record component.private static CubicSpline<TerrainShaper.Point>
TerrainShaper.ridgeSpline
(float p_187277_, float p_187278_, float p_187279_, float p_187280_, float p_187281_, float p_187282_, ToFloatFunction<Float> p_187283_) ModifierConstructorDescriptionTerrainShaper
(CubicSpline<TerrainShaper.Point> offsetSampler, CubicSpline<TerrainShaper.Point> factorSampler, CubicSpline<TerrainShaper.Point> jaggednessSampler) Creates an instance of aTerrainShaper
record class. -
Uses of CubicSpline in net.minecraft.world.level.levelgen
Modifier and TypeFieldDescriptionprivate final CubicSpline<TerrainShaper.PointCustom>
DensityFunctions.Spline.spline
The field for thespline
record component.Modifier and TypeMethodDescriptionDensityFunctions.Spline.spline()
Returns the value of thespline
record component.ModifierConstructorDescriptionSpline
(CubicSpline<TerrainShaper.PointCustom> spline, double minValue, double maxValue) Creates an instance of aSpline
record class.