Interface Interpolator<T>


public interface Interpolator<T>
Mappings:
Namespace Name
named net/minecraft/util/math/Interpolator
intermediary net/minecraft/class_12210
official cei
  • Method Details

    • ofFloat

      static Interpolator<Float> ofFloat()
      Mappings:
      Namespace Name Mixin selector
      named ofFloat Lnet/minecraft/util/math/Interpolator;ofFloat()Lnet/minecraft/util/math/Interpolator;
      intermediary method_75706 Lnet/minecraft/class_12210;method_75706()Lnet/minecraft/class_12210;
      official a Lcei;a()Lcei;
    • angle

      static Interpolator<Float> angle(float maxDeviation)
      Mappings:
      Namespace Name Mixin selector
      named angle Lnet/minecraft/util/math/Interpolator;angle(F)Lnet/minecraft/util/math/Interpolator;
      intermediary method_76426 Lnet/minecraft/class_12210;method_76426(F)Lnet/minecraft/class_12210;
      official a Lcei;a(F)Lcei;
    • first

      static <T> Interpolator<T> first()
      Mappings:
      Namespace Name Mixin selector
      named first Lnet/minecraft/util/math/Interpolator;first()Lnet/minecraft/util/math/Interpolator;
      intermediary method_76429 Lnet/minecraft/class_12210;method_76429()Lnet/minecraft/class_12210;
      official b Lcei;b()Lcei;
    • threshold

      static <T> Interpolator<T> threshold(float threshold)
      Mappings:
      Namespace Name Mixin selector
      named threshold Lnet/minecraft/util/math/Interpolator;threshold(F)Lnet/minecraft/util/math/Interpolator;
      intermediary method_75707 Lnet/minecraft/class_12210;method_75707(F)Lnet/minecraft/class_12210;
      official b Lcei;b(F)Lcei;
    • ofColor

      static Interpolator<Integer> ofColor()
      Mappings:
      Namespace Name Mixin selector
      named ofColor Lnet/minecraft/util/math/Interpolator;ofColor()Lnet/minecraft/util/math/Interpolator;
      intermediary method_75709 Lnet/minecraft/class_12210;method_75709()Lnet/minecraft/class_12210;
      official c Lcei;c()Lcei;
    • apply

      T apply(float t, T a, T b)
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/util/math/Interpolator;apply(FLjava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
      intermediary apply Lnet/minecraft/class_12210;apply(FLjava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
      official apply Lcei;apply(FLjava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;