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
official aob$b
intermediary net/minecraft/class_6492$class_6493
named net/minecraft/util/math/Spline$Builder
  • Field Details

    • locationFunction

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

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

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

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

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

    • Builder

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

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

    • add

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

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

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

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

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