Package net.minecraft.util.math
Interface Spline<C,I extends ToFloatFunction<C>>
- All Superinterfaces:
ToFloatFunction<C>
- All Known Implementing Classes:
Spline.FixedFloatFunction
,Spline.Implementation
- Mappings:
Namespace Name official aod
intermediary net/minecraft/class_6492
named net/minecraft/util/math/Spline
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Spline.Builder<C,
I extends ToFloatFunction<C>> static final record
Spline.FixedFloatFunction<C,
I extends ToFloatFunction<C>> static final record
Spline.Implementation<C,
I extends ToFloatFunction<C>> static interface
-
Field Summary
Fields inherited from interface net.minecraft.util.function.ToFloatFunction
IDENTITY
-
Method Summary
Modifier and TypeMethodDescriptionapply
(Spline.Visitor<I> visitor) static <C,
I extends ToFloatFunction<C>>
Spline.Builder<C,I> builder
(I locationFunction) static <C,
I extends ToFloatFunction<C>>
Spline.Builder<C,I> builder
(I locationFunction, ToFloatFunction<Float> amplifier) static <C,
I extends ToFloatFunction<C>>
com.mojang.serialization.Codec<Spline<C,I>> createCodec
(com.mojang.serialization.Codec<I> locationFunctionCodec) static <C,
I extends ToFloatFunction<C>>
Spline<C,I> fixedFloatFunction
(float value) Methods inherited from interface net.minecraft.util.function.ToFloatFunction
apply, compose, max, min
-
Method Details
-
getDebugString
String getDebugString()- Mappings:
Namespace Name Mixin selector official a
Laod;a()Ljava/lang/String;
intermediary method_39225
Lnet/minecraft/class_6492;method_39225()Ljava/lang/String;
named getDebugString
Lnet/minecraft/util/math/Spline;getDebugString()Ljava/lang/String;
-
apply
- Mappings:
Namespace Name Mixin selector official a
Laod;a(Laod$d;)Laod;
intermediary method_41187
Lnet/minecraft/class_6492;method_41187(Lnet/minecraft/class_6492$class_7073;)Lnet/minecraft/class_6492;
named apply
Lnet/minecraft/util/math/Spline;apply(Lnet/minecraft/util/math/Spline$Visitor;)Lnet/minecraft/util/math/Spline;
-
createCodec
static <C,I extends ToFloatFunction<C>> com.mojang.serialization.Codec<Spline<C,I>> createCodec(com.mojang.serialization.Codec<I> locationFunctionCodec) - Mappings:
Namespace Name Mixin selector official a
Laod;a(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
intermediary method_39232
Lnet/minecraft/class_6492;method_39232(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
named createCodec
Lnet/minecraft/util/math/Spline;createCodec(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
-
fixedFloatFunction
- Mappings:
Namespace Name Mixin selector official a
Laod;a(F)Laod;
intermediary method_39427
Lnet/minecraft/class_6492;method_39427(F)Lnet/minecraft/class_6492;
named fixedFloatFunction
Lnet/minecraft/util/math/Spline;fixedFloatFunction(F)Lnet/minecraft/util/math/Spline;
-
builder
- Mappings:
Namespace Name Mixin selector official a
Laod;a(Lapx;)Laod$b;
intermediary method_37918
Lnet/minecraft/class_6492;method_37918(Lnet/minecraft/class_6501;)Lnet/minecraft/class_6492$class_6493;
named builder
Lnet/minecraft/util/math/Spline;builder(Lnet/minecraft/util/function/ToFloatFunction;)Lnet/minecraft/util/math/Spline$Builder;
-
builder
static <C,I extends ToFloatFunction<C>> Spline.Builder<C,I> builder(I locationFunction, ToFloatFunction<Float> amplifier) - Mappings:
Namespace Name Mixin selector official a
Laod;a(Lapx;Lapx;)Laod$b;
intermediary method_39502
Lnet/minecraft/class_6492;method_39502(Lnet/minecraft/class_6501;Lnet/minecraft/class_6501;)Lnet/minecraft/class_6492$class_6493;
named builder
Lnet/minecraft/util/math/Spline;builder(Lnet/minecraft/util/function/ToFloatFunction;Lnet/minecraft/util/function/ToFloatFunction;)Lnet/minecraft/util/math/Spline$Builder;
-