Interface Interpolator<T>


public interface Interpolator<T>
Mappings:
Namespace Name
named net/minecraft/util/math/Interpolator
intermediary net/minecraft/class_12210
official ceg
  • 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 Lceg;a()Lceg;
    • 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 Lceg;a(F)Lceg;
    • 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 Lceg;b()Lceg;
    • 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 Lceg;b(F)Lceg;
    • 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 Lceg;c()Lceg;
    • 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 Lceg;apply(FLjava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;