Uses of Interface
net.minecraft.util.function.ToFloatFunction
-
Uses of ToFloatFunction in net.minecraft.util.math
Modifier and TypeClassDescriptionstatic final record
static final record
Modifier and TypeFieldDescriptionprivate final ToFloatFunction<Float>
Spline.Builder.amplifier
private final ToFloatFunction<C>
Spline.Builder.locationFunction
private final ToFloatFunction<C>
Spline.Implementation.locationFunction
The field for thelocationFunction
record component.Modifier and TypeMethodDescriptionSpline.Implementation.locationFunction()
Returns the value of thelocationFunction
record component.Spline.class_7073.visit
(ToFloatFunction<C> toFloatFunction) Modifier and TypeMethodDescriptionstatic <C> Spline.Builder<C>
Spline.builder
(ToFloatFunction<C> locationFunction) static <C> Spline.Builder<C>
Spline.builder
(ToFloatFunction<C> locationFunction, ToFloatFunction<Float> amplifier) Spline.class_7073.visit
(ToFloatFunction<C> toFloatFunction) Modifier and TypeMethodDescriptionstatic <C> com.mojang.serialization.Codec<Spline<C>>
Spline.createCodec
(com.mojang.serialization.Codec<ToFloatFunction<C>> locationFunctionCodec) ModifierConstructorDescriptionprotected
Builder
(ToFloatFunction<C> locationFunction) protected
Builder
(ToFloatFunction<C> locationFunction, ToFloatFunction<Float> amplifier) Implementation
(ToFloatFunction<C> toFloatFunction, float[] float2, List<Spline<C>> list, float[] float3) -
Uses of ToFloatFunction in net.minecraft.world.biome.source.util
Modifier and TypeClassDescriptionstatic final record
protected static enum
Modifier and TypeFieldDescriptionprivate static final ToFloatFunction<Float>
VanillaTerrainParameters.field_35673
private final ToFloatFunction<VanillaTerrainParameters.NoisePoint>
VanillaTerrainParameters.LocationFunction.noiseFunction
Modifier and TypeFieldDescription(package private) static final com.mojang.serialization.Codec<ToFloatFunction<VanillaTerrainParameters.NoisePoint>>
VanillaTerrainParameters.LocationFunction.field_35464
(package private) static final com.mojang.serialization.Codec<ToFloatFunction<VanillaTerrainParameters.class_7075>>
VanillaTerrainParameters.class_7074.field_37253
Modifier and TypeMethodDescriptionprivate static Spline<VanillaTerrainParameters.NoisePoint>
VanillaTerrainParameters.buildErosionFactorSpline
(float value, boolean bool, ToFloatFunction<Float> toFloatFunction) private static Spline<VanillaTerrainParameters.NoisePoint>
VanillaTerrainParameters.createFlatOffsetSpline
(float float2, float float3, float float4, float float5, float float6, float float7, ToFloatFunction<Float> toFloatFunction) private static Spline<VanillaTerrainParameters.NoisePoint>
VanillaTerrainParameters.createLandSpline
(float float2, float float3, float float4, float float5, float float6, float float7, boolean bool, boolean bool2, ToFloatFunction<Float> toFloatFunction) private static Spline<VanillaTerrainParameters.NoisePoint>
VanillaTerrainParameters.method_38219
(float float2, boolean bool, ToFloatFunction<Float> toFloatFunction) private static Spline<VanillaTerrainParameters.NoisePoint>
VanillaTerrainParameters.method_38855
(float float2, float float3, ToFloatFunction<Float> toFloatFunction) private static Spline<VanillaTerrainParameters.NoisePoint>
VanillaTerrainParameters.method_38856
(float float2, float float3, float float4, float float5, ToFloatFunction<Float> toFloatFunction) private static Spline<VanillaTerrainParameters.NoisePoint>
VanillaTerrainParameters.method_38857
(float float2, ToFloatFunction<Float> toFloatFunction) ModifierConstructorDescriptionprivate
LocationFunction
(ToFloatFunction<VanillaTerrainParameters.NoisePoint> noiseFunction, String id)