Uses of Interface
net.minecraft.util.math.Spline
Package
Description
-
Uses of Spline in net.minecraft.util.math
Modifier and TypeClassDescriptionstatic final record
Spline.FixedFloatFunction<C,
I extends ToFloatFunction<C>> static final record
Spline.Implementation<C,
I extends ToFloatFunction<C>> Modifier and TypeFieldDescriptionSpline.Builder.values
Spline.Implementation.values
The field for thevalues
record component.Modifier and TypeMethodDescriptionSpline.apply
(Spline.Visitor<I> visitor) Spline.FixedFloatFunction.apply
(Spline.Visitor<I> visitor) Spline.Implementation.apply
(Spline.Visitor<I> visitor) Spline.Builder.build()
static <C,
I extends ToFloatFunction<C>>
Spline<C,I> Spline.fixedFloatFunction
(float value) Modifier and TypeMethodDescriptionstatic <C,
I extends ToFloatFunction<C>>
com.mojang.serialization.Codec<Spline<C,I>> Spline.createCodec
(com.mojang.serialization.Codec<I> locationFunctionCodec) Spline.Implementation.values()
Returns the value of thevalues
record component.Modifier and TypeMethodDescription(package private) static <C,
I extends ToFloatFunction<C>>
Spline.Implementation<C,I> Spline.Implementation.build
(I locationFunction, float[] locations, List<Spline<C, I>> values, float[] derivatives) private static <C,
I extends ToFloatFunction<C>>
voidSpline.Implementation.method_41301
(float[] float2, List<Spline<C, I>> list, float[] float3) -
Uses of Spline in net.minecraft.world.biome.source.util
Modifier and TypeMethodDescriptionstatic <C,
I extends ToFloatFunction<C>>
Spline<C,I> VanillaTerrainParametersCreator.createContinentalOffsetSpline
(I erosion, I ridgesFolded, float continentalness, float float2, float float3, float float4, float float5, float float6, boolean bool, boolean bool2, ToFloatFunction<Float> amplifier) static <C,
I extends ToFloatFunction<C>>
Spline<C,I> VanillaTerrainParametersCreator.createFactorSpline
(I continents, I erosion, I ridges, I ridgesFolded, boolean amplified) Creates the spline for terrain factor.static <C,
I extends ToFloatFunction<C>>
Spline<C,I> VanillaTerrainParametersCreator.createJaggednessSpline
(I continents, I erosion, I ridges, I ridgesFolded, boolean amplified) Creates the spline for terrain jaggedness.static <C,
I extends ToFloatFunction<C>>
Spline<C,I> VanillaTerrainParametersCreator.createOffsetSpline
(I continents, I erosion, I ridgesFolded, boolean amplified) Creates the spline for terrain offset.private static <C,
I extends ToFloatFunction<C>>
Spline<C,I> VanillaTerrainParametersCreator.method_42048
(I ridgesFolded, float continentalness, float float2, float float3, float float4, float float5, float float6, ToFloatFunction<Float> amplifier) private static <C,
I extends ToFloatFunction<C>>
Spline<C,I> VanillaTerrainParametersCreator.method_42049
(I ridges, float float2, ToFloatFunction<Float> amplifier) private static <C,
I extends ToFloatFunction<C>>
Spline<C,I> VanillaTerrainParametersCreator.method_42050
(I ridgesFolded, float float2, boolean bool, ToFloatFunction<Float> amplifier) private static <C,
I extends ToFloatFunction<C>>
Spline<C,I> VanillaTerrainParametersCreator.method_42052
(I ridges, I ridgesFolded, float float2, float float3, ToFloatFunction<Float> amplifier) private static <C,
I extends ToFloatFunction<C>>
Spline<C,I> VanillaTerrainParametersCreator.method_42053
(I erosion, I ridges, I ridgesFolded, float float2, float float3, float float4, float float5, ToFloatFunction<Float> amplifier) private static <C,
I extends ToFloatFunction<C>>
Spline<C,I> VanillaTerrainParametersCreator.method_42054
(I erosion, I ridges, I ridgesFolded, float float2, boolean bool, ToFloatFunction<Float> amplifier) -
Uses of Spline in net.minecraft.world.gen.densityfunction
Modifier and TypeFieldDescriptionprivate final Spline<DensityFunctionTypes.Spline.SplinePos,
DensityFunctionTypes.Spline.DensityFunctionWrapper> DensityFunctionTypes.Spline.spline
The field for thespline
record component.Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<Spline<DensityFunctionTypes.Spline.SplinePos,
DensityFunctionTypes.Spline.DensityFunctionWrapper>> DensityFunctionTypes.Spline.SPLINE_CODEC
Modifier and TypeMethodDescriptionDensityFunctionTypes.Spline.spline()
Returns the value of thespline
record component.Modifier and TypeMethodDescriptionstatic DensityFunction
DensityFunctionTypes.spline
(Spline<DensityFunctionTypes.Spline.SplinePos, DensityFunctionTypes.Spline.DensityFunctionWrapper> spline) ModifierConstructorDescriptionSpline
(Spline<DensityFunctionTypes.Spline.SplinePos, DensityFunctionTypes.Spline.DensityFunctionWrapper> spline) Creates an instance of aSpline
record class.