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<C>
Spline.class_6738.coordinate
The field for thecoordinate
record component.private final ToFloatFunction<Float>
Spline.Builder.field_35661
private final ToFloatFunction<C>
Spline.Builder.locationFunction
Modifier and TypeMethodDescriptionSpline.class_6738.coordinate()
Returns the value of thecoordinate
record component.Modifier and TypeMethodDescriptionstatic <C> Spline.Builder<C>
Spline.builder
(ToFloatFunction<C> locationFunction) static <C> Spline.Builder<C>
Spline.method_39502
(ToFloatFunction<C> toFloatFunction, ToFloatFunction<Float> toFloatFunction2) Modifier and TypeMethodDescriptionstatic <C> com.mojang.serialization.Codec<Spline<C>>
Spline.method_39232
(com.mojang.serialization.Codec<ToFloatFunction<C>> codec) ModifierConstructorDescriptionprotected
Builder
(ToFloatFunction<C> locationFunction) protected
Builder
(ToFloatFunction<C> toFloatFunction, ToFloatFunction<Float> toFloatFunction2) class_6738
(ToFloatFunction<C> toFloatFunction, float[] float2, List<Spline<C>> list, float[] float3) -
Uses of ToFloatFunction in net.minecraft.world.biome.source.util
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
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)