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 aie$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 Laie$b;a:Lajl;
      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 Laie$b;b:Lajl;
      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 Laie$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 Laie$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 Laie$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> Laie$b;<init>(Lajl;)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> locationFunction, ToFloatFunction<Float> toFloatFunction)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laie$b;<init>(Lajl;Lajl;)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> add(float location, float value, float derivative)
      Mappings:
      Namespace Name Mixin selector
      official a Laie$b;a(FFF)Laie$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 Laie$b;a(FLaie;F)Laie$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 Laie$b;a()Laie;
      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;