Uses of Interface
net.minecraft.util.ToFloatFunction
-
Uses of ToFloatFunction in net.minecraft.util
Modifier and TypeClassDescriptionstatic final record
static final record
Modifier and TypeFieldDescriptionprivate final ToFloatFunction<C>
CubicSpline.Builder.coordinate
private final ToFloatFunction<C>
CubicSpline.Multipoint.coordinate
The field for thecoordinate
record component.private final ToFloatFunction<Float>
CubicSpline.Builder.valueTransformer
Modifier and TypeMethodDescriptionCubicSpline.Multipoint.coordinate()
Returns the value of thecoordinate
record component.CubicSpline.CoordinateVisitor.visit
(ToFloatFunction<C> p_211583_) Modifier and TypeMethodDescriptionstatic <C> CubicSpline.Builder<C>
CubicSpline.builder
(ToFloatFunction<C> p_184253_) static <C> CubicSpline.Builder<C>
CubicSpline.builder
(ToFloatFunction<C> p_184255_, ToFloatFunction<Float> p_184256_) CubicSpline.CoordinateVisitor.visit
(ToFloatFunction<C> p_211583_) Modifier and TypeMethodDescriptionstatic <C> com.mojang.serialization.Codec<CubicSpline<C>>
CubicSpline.codec
(com.mojang.serialization.Codec<ToFloatFunction<C>> p_184263_) ModifierConstructorDescriptionprotected
Builder
(ToFloatFunction<C> p_184293_) protected
Builder
(ToFloatFunction<C> p_184295_, ToFloatFunction<Float> p_184296_) Multipoint
(ToFloatFunction<C> coordinate, float[] locations, List<CubicSpline<C>> values, float[] derivatives) Creates an instance of aMultipoint
record class. -
Uses of ToFloatFunction in net.minecraft.world.level.biome
Modifier and TypeClassDescriptionprotected static enum
static final record
Modifier and TypeFieldDescriptionprivate static final ToFloatFunction<Float>
TerrainShaper.NO_TRANSFORM
private final ToFloatFunction<TerrainShaper.Point>
TerrainShaper.Coordinate.reference
Modifier and TypeFieldDescription(package private) static final com.mojang.serialization.Codec<ToFloatFunction<TerrainShaper.Point>>
TerrainShaper.Coordinate.WIDE_CODEC
(package private) static final com.mojang.serialization.Codec<ToFloatFunction<TerrainShaper.PointCustom>>
TerrainShaper.CoordinateCustom.WIDE_CODEC
Modifier and TypeMethodDescriptionprivate static CubicSpline<TerrainShaper.Point>
TerrainShaper.buildErosionJaggednessSpline
(float p_187295_, float p_187296_, float p_187297_, float p_187298_, ToFloatFunction<Float> p_187299_) private static CubicSpline<TerrainShaper.Point>
TerrainShaper.buildErosionOffsetSpline
(float p_187285_, float p_187286_, float p_187287_, float p_187288_, float p_187289_, float p_187290_, boolean p_187291_, boolean p_187292_, ToFloatFunction<Float> p_187293_) private static CubicSpline<TerrainShaper.Point>
TerrainShaper.buildMountainRidgeSplineWithPoints
(float p_187331_, boolean p_187332_, ToFloatFunction<Float> p_187333_) private static CubicSpline<TerrainShaper.Point>
TerrainShaper.buildRidgeJaggednessSpline
(float p_187301_, float p_187302_, ToFloatFunction<Float> p_187303_) private static CubicSpline<TerrainShaper.Point>
TerrainShaper.buildWeirdnessJaggednessSpline
(float p_187305_, ToFloatFunction<Float> p_187306_) private static CubicSpline<TerrainShaper.Point>
TerrainShaper.getErosionFactor
(float p_187308_, boolean p_187309_, ToFloatFunction<Float> p_187310_) private static CubicSpline<TerrainShaper.Point>
TerrainShaper.ridgeSpline
(float p_187277_, float p_187278_, float p_187279_, float p_187280_, float p_187281_, float p_187282_, ToFloatFunction<Float> p_187283_) ModifierConstructorDescriptionprivate
Coordinate
(ToFloatFunction<TerrainShaper.Point> p_187359_, String p_187360_)