Package net.minecraft.util.function
Interface ToFloatFunction<C>
- All Known Subinterfaces:
Spline<C,
I>
- All Known Implementing Classes:
DensityFunctionTypes.Spline.DensityFunctionWrapper
,Spline.FixedFloatFunction
,Spline.Implementation
public interface ToFloatFunction<C>
- Mappings:
Namespace Name named net/minecraft/util/function/ToFloatFunction
intermediary net/minecraft/class_6501
official azp
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
default <C2> ToFloatFunction
<C2> Returns a composed function that first applies the before function to its input, and then applies this function.static ToFloatFunction
<Float> fromFloat
(Float2FloatFunction delegate) float
max()
float
min()
-
Field Details
-
IDENTITY
- Mappings:
Namespace Name Mixin selector named IDENTITY
Lnet/minecraft/util/function/ToFloatFunction;IDENTITY:Lnet/minecraft/util/function/ToFloatFunction;
intermediary field_37409
Lnet/minecraft/class_6501;field_37409:Lnet/minecraft/class_6501;
official a
Lazp;a:Lazp;
-
-
Method Details
-
apply
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/util/function/ToFloatFunction;apply(Ljava/lang/Object;)F
intermediary method_41296
Lnet/minecraft/class_6501;method_41296(Ljava/lang/Object;)F
official a
Lazp;a(Ljava/lang/Object;)F
-
min
float min()- Mappings:
Namespace Name Mixin selector named min
Lnet/minecraft/util/function/ToFloatFunction;min()F
intermediary comp_532
Lnet/minecraft/class_6501;comp_532()F
official b
Lazp;b()F
-
max
float max()- Mappings:
Namespace Name Mixin selector named max
Lnet/minecraft/util/function/ToFloatFunction;max()F
intermediary comp_533
Lnet/minecraft/class_6501;comp_533()F
official c
Lazp;c()F
-
fromFloat
- Mappings:
Namespace Name Mixin selector named fromFloat
Lnet/minecraft/util/function/ToFloatFunction;fromFloat(Lit/unimi/dsi/fastutil/floats/Float2FloatFunction;)Lnet/minecraft/util/function/ToFloatFunction;
intermediary method_41308
Lnet/minecraft/class_6501;method_41308(Lit/unimi/dsi/fastutil/floats/Float2FloatFunction;)Lnet/minecraft/class_6501;
official a
Lazp;a(Lit/unimi/dsi/fastutil/floats/Float2FloatFunction;)Lazp;
-
compose
Returns a composed function that first applies the before function to its input, and then applies this function. to the result.- Parameters:
before
- the function to apply before this function is applied- Returns:
- a composed function that first applies the before function to its input, and then applies this function
- Mappings:
Namespace Name Mixin selector named compose
Lnet/minecraft/util/function/ToFloatFunction;compose(Ljava/util/function/Function;)Lnet/minecraft/util/function/ToFloatFunction;
intermediary method_41309
Lnet/minecraft/class_6501;method_41309(Ljava/util/function/Function;)Lnet/minecraft/class_6501;
official a
Lazp;a(Ljava/util/function/Function;)Lazp;
-