Package net.minecraft.util.math
Interface Spline<C>
- All Superinterfaces:
ToFloatFunction<C>
- All Known Implementing Classes:
Spline.FixedFloatFunction
,Spline.Implementation
- Mappings:
Namespace Name official air
intermediary net/minecraft/class_6492
named net/minecraft/util/math/Spline
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static interface
static final record
static final record
-
Method Summary
Modifier and TypeMethodDescriptionstatic <C> Spline.Builder<C>
builder
(ToFloatFunction<C> locationFunction) static <C> Spline.Builder<C>
builder
(ToFloatFunction<C> locationFunction, ToFloatFunction<Float> amplifier) static <C> com.mojang.serialization.Codec<Spline<C>>
createCodec
(com.mojang.serialization.Codec<ToFloatFunction<C>> locationFunctionCodec) static <C> Spline<C>
fixedFloatFunction
(float value) float
max()
method_41187
(Spline.class_7073<C> class_7073) float
min()
Methods inherited from interface net.minecraft.util.function.ToFloatFunction
apply
-
Method Details
-
getDebugString
String getDebugString()- Mappings:
Namespace Name Mixin selector official a
Lair;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;
-
min
float min()- Mappings:
Namespace Name Mixin selector official b
Lair;b()F
intermediary method_40435
Lnet/minecraft/class_6492;method_40435()F
named min
Lnet/minecraft/util/math/Spline;min()F
-
max
float max()- Mappings:
Namespace Name Mixin selector official c
Lair;c()F
intermediary method_40436
Lnet/minecraft/class_6492;method_40436()F
named max
Lnet/minecraft/util/math/Spline;max()F
-
method_41187
- Mappings:
Namespace Name Mixin selector official a
Lair;a(Lair$d;)Lair;
intermediary method_41187
Lnet/minecraft/class_6492;method_41187(Lnet/minecraft/class_6492$class_7073;)Lnet/minecraft/class_6492;
named method_41187
Lnet/minecraft/util/math/Spline;method_41187(Lnet/minecraft/util/math/Spline$class_7073;)Lnet/minecraft/util/math/Spline;
-
createCodec
static <C> com.mojang.serialization.Codec<Spline<C>> createCodec(com.mojang.serialization.Codec<ToFloatFunction<C>> locationFunctionCodec) - Mappings:
Namespace Name Mixin selector official a
Lair;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
Lair;a(F)Lair;
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
Lair;a(Lajy;)Lair$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> Spline.Builder<C> builder(ToFloatFunction<C> locationFunction, ToFloatFunction<Float> amplifier) - Mappings:
Namespace Name Mixin selector official a
Lair;a(Lajy;Lajy;)Lair$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;
-