Uses of Interface
net.minecraft.util.function.ToFloatFunction
Package
Description
-
Uses of ToFloatFunction in net.minecraft.util.function
Modifier and TypeMethodDescriptiondefault <C2> ToFloatFunction<C2>
Returns a composed function that first applies the before function to its input, and then applies this function.static ToFloatFunction<Float>
ToFloatFunction.fromFloat
(Float2FloatFunction delegate) -
Uses of ToFloatFunction in net.minecraft.util.math
Modifier and TypeInterfaceDescriptioninterface
Spline<C,
I extends ToFloatFunction<C>> static final class
Spline.Builder<C,
I extends ToFloatFunction<C>> static final record
Spline.FixedFloatFunction<C,
I extends ToFloatFunction<C>> static final record
Spline.Implementation<C,
I extends ToFloatFunction<C>> Modifier and TypeClassDescriptionstatic final record
Spline.FixedFloatFunction<C,
I extends ToFloatFunction<C>> static final record
Spline.Implementation<C,
I extends ToFloatFunction<C>> Modifier and TypeFieldDescriptionprivate final ToFloatFunction<Float>
Spline.Builder.amplifier
private final I
Spline.Builder.locationFunction
private final I
Spline.Implementation.locationFunction
The field for thelocationFunction
record component.Modifier and TypeMethodDescriptionprivate static <C,
I extends ToFloatFunction<C>>
voidSpline.Implementation.assertParametersValid
(float[] locations, List<Spline<C, I>> values, float[] derivatives) (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) static <C,
I extends ToFloatFunction<C>>
Spline.Builder<C,I> Spline.builder
(I locationFunction) static <C,
I extends ToFloatFunction<C>>
Spline.Builder<C,I> Spline.builder
(I locationFunction, ToFloatFunction<Float> amplifier) static <C,
I extends ToFloatFunction<C>>
com.mojang.serialization.Codec<Spline<C,I>> Spline.createCodec
(com.mojang.serialization.Codec<I> locationFunctionCodec) static <C,
I extends ToFloatFunction<C>>
Spline<C,I> Spline.fixedFloatFunction
(float value) Modifier and TypeMethodDescriptionstatic <C,
I extends ToFloatFunction<C>>
Spline.Builder<C,I> Spline.builder
(I locationFunction, ToFloatFunction<Float> amplifier) ModifierConstructorDescriptionprotected
Builder
(I locationFunction, ToFloatFunction<Float> amplifier) -
Uses of ToFloatFunction in net.minecraft.world.biome.source.util
Modifier and TypeFieldDescriptionprivate static final ToFloatFunction<Float>
VanillaTerrainParametersCreator.FACTOR_AMPLIFIER
private static final ToFloatFunction<Float>
VanillaTerrainParametersCreator.IDENTITY
private static final ToFloatFunction<Float>
VanillaTerrainParametersCreator.JAGGEDNESS_AMPLIFIER
private static final ToFloatFunction<Float>
VanillaTerrainParametersCreator.OFFSET_AMPLIFIER
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) 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) 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 ToFloatFunction in net.minecraft.world.gen.densityfunction
Modifier and TypeClassDescriptionstatic final record