Package net.minecraft.util
Interface CubicSpline<C,I extends ToFloatFunction<C>>
- All Superinterfaces:
ToFloatFunction<C>
- All Known Implementing Classes:
CubicSpline.Constant
,CubicSpline.Multipoint
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
CubicSpline.Builder<C,
I extends ToFloatFunction<C>> static final record
CubicSpline.Constant<C,
I extends ToFloatFunction<C>> static interface
static final record
CubicSpline.Multipoint<C,
I extends ToFloatFunction<C>> -
Field Summary
Fields inherited from interface net.minecraft.util.ToFloatFunction
IDENTITY
-
Method Summary
Modifier and TypeMethodDescriptionstatic <C,
I extends ToFloatFunction<C>>
CubicSpline.Builder<C,I> builder
(I p_184253_) static <C,
I extends ToFloatFunction<C>>
CubicSpline.Builder<C,I> builder
(I p_184255_, ToFloatFunction<Float> p_184256_) static <C,
I extends ToFloatFunction<C>>
com.mojang.serialization.Codec<CubicSpline<C,I>> codec
(com.mojang.serialization.Codec<I> p_184263_) static <C,
I extends ToFloatFunction<C>>
CubicSpline<C,I> constant
(float p_184240_) mapAll
(CubicSpline.CoordinateVisitor<I> p_211579_) Methods inherited from interface net.minecraft.util.ToFloatFunction
apply, comap, maxValue, minValue
-
Method Details
-
parityString
String parityString() -
mapAll
-
codec
static <C,I extends ToFloatFunction<C>> com.mojang.serialization.Codec<CubicSpline<C,I>> codec(com.mojang.serialization.Codec<I> p_184263_) -
constant
-
builder
-
builder
static <C,I extends ToFloatFunction<C>> CubicSpline.Builder<C,I> builder(I p_184255_, ToFloatFunction<Float> p_184256_)
-