Class Spline.Builder<C,I extends ToFloatFunction<C>>

java.lang.Object
net.minecraft.util.math.Spline.Builder<C,I>
Enclosing interface:
Spline<C,I extends ToFloatFunction<C>>

public static final class Spline.Builder<C,I extends ToFloatFunction<C>> extends Object
Mappings:
Namespace Name
named net/minecraft/util/math/Spline$Builder
intermediary net/minecraft/class_6492$class_6493
official azg$b
  • Field Details

    • locationFunction

      private final I extends ToFloatFunction<C> locationFunction
      Mappings:
      Namespace Name Mixin selector
      named locationFunction Lnet/minecraft/util/math/Spline$Builder;locationFunction:Lnet/minecraft/util/function/ToFloatFunction;
      intermediary field_34382 Lnet/minecraft/class_6492$class_6493;field_34382:Lnet/minecraft/class_6501;
      official a Lazg$b;a:Lbbh;
    • amplifier

      private final ToFloatFunction<Float> amplifier
      Mappings:
      Namespace Name Mixin selector
      named amplifier Lnet/minecraft/util/math/Spline$Builder;amplifier:Lnet/minecraft/util/function/ToFloatFunction;
      intermediary field_35661 Lnet/minecraft/class_6492$class_6493;field_35661:Lnet/minecraft/class_6501;
      official b Lazg$b;b:Lbbh;
    • locations

      private final FloatList locations
      Mappings:
      Namespace Name Mixin selector
      named locations Lnet/minecraft/util/math/Spline$Builder;locations:Lit/unimi/dsi/fastutil/floats/FloatList;
      intermediary field_34383 Lnet/minecraft/class_6492$class_6493;field_34383:Lit/unimi/dsi/fastutil/floats/FloatList;
      official c Lazg$b;c:Lit/unimi/dsi/fastutil/floats/FloatList;
    • values

      private final List<Spline<C,I extends ToFloatFunction<C>>> values
      Mappings:
      Namespace Name Mixin selector
      named values Lnet/minecraft/util/math/Spline$Builder;values:Ljava/util/List;
      intermediary field_34384 Lnet/minecraft/class_6492$class_6493;field_34384:Ljava/util/List;
      official d Lazg$b;d:Ljava/util/List;
    • derivatives

      private final FloatList derivatives
      Mappings:
      Namespace Name Mixin selector
      named derivatives Lnet/minecraft/util/math/Spline$Builder;derivatives:Lit/unimi/dsi/fastutil/floats/FloatList;
      intermediary field_34385 Lnet/minecraft/class_6492$class_6493;field_34385:Lit/unimi/dsi/fastutil/floats/FloatList;
      official e Lazg$b;e:Lit/unimi/dsi/fastutil/floats/FloatList;
  • Constructor Details

    • Builder

      protected Builder(I locationFunction)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/math/Spline$Builder;<init>(Lnet/minecraft/util/function/ToFloatFunction;)V
      intermediary <init> Lnet/minecraft/class_6492$class_6493;<init>(Lnet/minecraft/class_6501;)V
      official <init> Lazg$b;<init>(Lbbh;)V
    • Builder

      protected Builder(I locationFunction, ToFloatFunction<Float> amplifier)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/math/Spline$Builder;<init>(Lnet/minecraft/util/function/ToFloatFunction;Lnet/minecraft/util/function/ToFloatFunction;)V
      intermediary <init> Lnet/minecraft/class_6492$class_6493;<init>(Lnet/minecraft/class_6501;Lnet/minecraft/class_6501;)V
      official <init> Lazg$b;<init>(Lbbh;Lbbh;)V
  • Method Details

    • add

      public Spline.Builder<C,I> add(float location, float value)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/util/math/Spline$Builder;add(FF)Lnet/minecraft/util/math/Spline$Builder;
      intermediary method_41294 Lnet/minecraft/class_6492$class_6493;method_41294(FF)Lnet/minecraft/class_6492$class_6493;
      official a Lazg$b;a(FF)Lazg$b;
    • add

      public Spline.Builder<C,I> add(float location, float value, float derivative)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/util/math/Spline$Builder;add(FFF)Lnet/minecraft/util/math/Spline$Builder;
      intermediary method_37924 Lnet/minecraft/class_6492$class_6493;method_37924(FFF)Lnet/minecraft/class_6492$class_6493;
      official a Lazg$b;a(FFF)Lazg$b;
    • add

      public Spline.Builder<C,I> add(float location, Spline<C,I> value)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/util/math/Spline$Builder;add(FLnet/minecraft/util/math/Spline;)Lnet/minecraft/util/math/Spline$Builder;
      intermediary method_41295 Lnet/minecraft/class_6492$class_6493;method_41295(FLnet/minecraft/class_6492;)Lnet/minecraft/class_6492$class_6493;
      official a Lazg$b;a(FLazg;)Lazg$b;
    • addPoint

      private Spline.Builder<C,I> addPoint(float location, Spline<C,I> value, float derivative)
      Mappings:
      Namespace Name Mixin selector
      named addPoint Lnet/minecraft/util/math/Spline$Builder;addPoint(FLnet/minecraft/util/math/Spline;F)Lnet/minecraft/util/math/Spline$Builder;
      intermediary method_37925 Lnet/minecraft/class_6492$class_6493;method_37925(FLnet/minecraft/class_6492;F)Lnet/minecraft/class_6492$class_6493;
      official a Lazg$b;a(FLazg;F)Lazg$b;
    • build

      public Spline<C,I> build()
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/util/math/Spline$Builder;build()Lnet/minecraft/util/math/Spline;
      intermediary method_37923 Lnet/minecraft/class_6492$class_6493;method_37923()Lnet/minecraft/class_6492;
      official a Lazg$b;a()Lazg;