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 named net/minecraft/util/math/Spline
intermediary net/minecraft/class_6492
official azg
-
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 named getDebugString
Lnet/minecraft/util/math/Spline;getDebugString()Ljava/lang/String;
intermediary method_39225
Lnet/minecraft/class_6492;method_39225()Ljava/lang/String;
official a
Lazg;a()Ljava/lang/String;
-
apply
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/util/math/Spline;apply(Lnet/minecraft/util/math/Spline$Visitor;)Lnet/minecraft/util/math/Spline;
intermediary method_41187
Lnet/minecraft/class_6492;method_41187(Lnet/minecraft/class_6492$class_7073;)Lnet/minecraft/class_6492;
official a
Lazg;a(Lazg$d;)Lazg;
-
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 named createCodec
Lnet/minecraft/util/math/Spline;createCodec(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;
official a
Lazg;a(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
-
fixedFloatFunction
- Mappings:
Namespace Name Mixin selector named fixedFloatFunction
Lnet/minecraft/util/math/Spline;fixedFloatFunction(F)Lnet/minecraft/util/math/Spline;
intermediary method_39427
Lnet/minecraft/class_6492;method_39427(F)Lnet/minecraft/class_6492;
official a
Lazg;a(F)Lazg;
-
builder
- Mappings:
Namespace Name Mixin selector named builder
Lnet/minecraft/util/math/Spline;builder(Lnet/minecraft/util/function/ToFloatFunction;)Lnet/minecraft/util/math/Spline$Builder;
intermediary method_37918
Lnet/minecraft/class_6492;method_37918(Lnet/minecraft/class_6501;)Lnet/minecraft/class_6492$class_6493;
official a
Lazg;a(Lbbh;)Lazg$b;
-
builder
static <C,I extends ToFloatFunction<C>> Spline.Builder<C,I> builder(I locationFunction, ToFloatFunction<Float> amplifier) - Mappings:
Namespace Name Mixin selector named builder
Lnet/minecraft/util/math/Spline;builder(Lnet/minecraft/util/function/ToFloatFunction;Lnet/minecraft/util/function/ToFloatFunction;)Lnet/minecraft/util/math/Spline$Builder;
intermediary method_39502
Lnet/minecraft/class_6492;method_39502(Lnet/minecraft/class_6501;Lnet/minecraft/class_6501;)Lnet/minecraft/class_6492$class_6493;
official a
Lazg;a(Lbbh;Lbbh;)Lazg$b;
-