Class Spline.Builder<C>

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

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

    • locationFunction

      private final ToFloatFunction<C> locationFunction
      Mappings:
      Namespace Name Mixin selector
      official a Lahy$b;a:Laje;
      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;
    • field_35661

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

      private final FloatList locations
      Mappings:
      Namespace Name Mixin selector
      official c Lahy$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>> values
      Mappings:
      Namespace Name Mixin selector
      official d Lahy$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 Lahy$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(ToFloatFunction<C> locationFunction)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lahy$b;<init>(Laje;)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(ToFloatFunction<C> toFloatFunction, ToFloatFunction<Float> toFloatFunction2)
  • Method Details

    • add

      public Spline.Builder<C> add(float location, float value, float derivative)
      Mappings:
      Namespace Name Mixin selector
      official a Lahy$b;a(FFF)Lahy$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> add(float location, Spline<C> value, float derivative)
      Mappings:
      Namespace Name Mixin selector
      official a Lahy$b;a(FLahy;F)Lahy$b;
      intermediary method_37925 Lnet/minecraft/class_6492$class_6493;method_37925(FLnet/minecraft/class_6492;F)Lnet/minecraft/class_6492$class_6493;
      named add Lnet/minecraft/util/math/Spline$Builder;add(FLnet/minecraft/util/math/Spline;F)Lnet/minecraft/util/math/Spline$Builder;
    • build

      public Spline<C> build()
      Mappings:
      Namespace Name Mixin selector
      official a Lahy$b;a()Lahy;
      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;