Uses of Interface
net.minecraft.util.CubicSpline
Package
Description
-
Uses of CubicSpline in net.minecraft.data.worldgen
Modifier and TypeMethodDescriptionprivate static <C,
I extends ToFloatFunction<C>>
CubicSpline<C, I> TerrainProvider.buildErosionJaggednessSpline
(I p_236614_, I p_236615_, I p_236616_, float p_236617_, float p_236618_, float p_236619_, float p_236620_, ToFloatFunction<Float> p_236621_) static <C,
I extends ToFloatFunction<C>>
CubicSpline<C, I> TerrainProvider.buildErosionOffsetSpline
(I p_236596_, I p_236597_, float p_236598_, float p_236599_, float p_236600_, float p_236601_, float p_236602_, float p_236603_, boolean p_236604_, boolean p_236605_, ToFloatFunction<Float> p_236606_) private static <C,
I extends ToFloatFunction<C>>
CubicSpline<C, I> TerrainProvider.buildMountainRidgeSplineWithPoints
(I p_236591_, float p_236592_, boolean p_236593_, ToFloatFunction<Float> p_236594_) private static <C,
I extends ToFloatFunction<C>>
CubicSpline<C, I> TerrainProvider.buildRidgeJaggednessSpline
(I p_236608_, I p_236609_, float p_236610_, float p_236611_, ToFloatFunction<Float> p_236612_) private static <C,
I extends ToFloatFunction<C>>
CubicSpline<C, I> TerrainProvider.buildWeirdnessJaggednessSpline
(I p_236587_, float p_236588_, ToFloatFunction<Float> p_236589_) private static <C,
I extends ToFloatFunction<C>>
CubicSpline<C, I> TerrainProvider.getErosionFactor
(I p_236623_, I p_236624_, I p_236625_, float p_236626_, boolean p_236627_, ToFloatFunction<Float> p_236628_) static <C,
I extends ToFloatFunction<C>>
CubicSpline<C, I> TerrainProvider.overworldFactor
(I p_236630_, I p_236631_, I p_236632_, I p_236633_, boolean p_236634_) static <C,
I extends ToFloatFunction<C>>
CubicSpline<C, I> TerrainProvider.overworldJaggedness
(I p_236643_, I p_236644_, I p_236645_, I p_236646_, boolean p_236647_) static <C,
I extends ToFloatFunction<C>>
CubicSpline<C, I> TerrainProvider.overworldOffset
(I p_236636_, I p_236637_, I p_236638_, boolean p_236639_) private static <C,
I extends ToFloatFunction<C>>
CubicSpline<C, I> TerrainProvider.ridgeSpline
(I p_236578_, float p_236579_, float p_236580_, float p_236581_, float p_236582_, float p_236583_, float p_236584_, ToFloatFunction<Float> p_236585_) -
Uses of CubicSpline in net.minecraft.util
Modifier and TypeClassDescriptionstatic final record
CubicSpline.Constant<C,
I extends ToFloatFunction<C>> static final record
CubicSpline.Multipoint<C,
I extends ToFloatFunction<C>> Modifier and TypeFieldDescriptionprivate final List
<CubicSpline<C, I>> CubicSpline.Builder.values
private final List
<CubicSpline<C, I>> CubicSpline.Multipoint.values
The field for thevalues
record component.Modifier and TypeMethodDescriptionCubicSpline.Builder.build()
static <C,
I extends ToFloatFunction<C>>
CubicSpline<C, I> CubicSpline.constant
(float p_184240_) CubicSpline.Constant.mapAll
(CubicSpline.CoordinateVisitor<I> p_211581_) CubicSpline.mapAll
(CubicSpline.CoordinateVisitor<I> p_211579_) CubicSpline.Multipoint.mapAll
(CubicSpline.CoordinateVisitor<I> p_211585_) Modifier and TypeMethodDescriptionstatic <C,
I extends ToFloatFunction<C>>
com.mojang.serialization.Codec<CubicSpline<C, I>> CubicSpline.codec
(com.mojang.serialization.Codec<I> p_184263_) List
<CubicSpline<C, I>> CubicSpline.Multipoint.values()
Returns the value of thevalues
record component.Modifier and TypeMethodDescriptionCubicSpline.Builder.addPoint
(float p_216118_, CubicSpline<C, I> p_216119_) private CubicSpline.Builder
<C, I> CubicSpline.Builder.addPoint
(float p_184303_, CubicSpline<C, I> p_184304_, float p_184305_) Modifier and TypeMethodDescription(package private) static <C,
I extends ToFloatFunction<C>>
CubicSpline.Multipoint<C, I> CubicSpline.Multipoint.create
(I p_216144_, float[] p_216145_, List<CubicSpline<C, I>> p_216146_, float[] p_216147_) private static <C,
I extends ToFloatFunction<C>>
voidCubicSpline.Multipoint.validateSizes
(float[] p_216152_, List<CubicSpline<C, I>> p_216153_, float[] p_216154_) ModifierConstructorDescriptionMultipoint
(I coordinate, float[] locations, List<CubicSpline<C, I>> values, float[] derivatives, float minValue, float maxValue) Creates an instance of aMultipoint
record class. -
Uses of CubicSpline in net.minecraft.world.level.levelgen
Modifier and TypeFieldDescriptionDensityFunctions.Spline.spline
The field for thespline
record component.Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<CubicSpline<DensityFunctions.Spline.Point, DensityFunctions.Spline.Coordinate>> DensityFunctions.Spline.SPLINE_CODEC
Modifier and TypeMethodDescriptionDensityFunctions.Spline.spline()
Returns the value of thespline
record component.Modifier and TypeMethodDescriptionstatic DensityFunction
DensityFunctions.spline
(CubicSpline<DensityFunctions.Spline.Point, DensityFunctions.Spline.Coordinate> p_224021_) ModifierConstructorDescriptionCreates an instance of aSpline
record class.