Class TrapezoidFloatProvider

java.lang.Object
net.minecraft.util.math.floatprovider.FloatProvider
net.minecraft.util.math.floatprovider.TrapezoidFloatProvider

public class TrapezoidFloatProvider extends FloatProvider
Mappings:
Namespace Name
official ark
intermediary net/minecraft/class_5865
named net/minecraft/util/math/floatprovider/TrapezoidFloatProvider
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<TrapezoidFloatProvider> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lark;a:Lcom/mojang/serialization/Codec;
      intermediary field_29012 Lnet/minecraft/class_5865;field_29012:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/util/math/floatprovider/TrapezoidFloatProvider;CODEC:Lcom/mojang/serialization/Codec;
    • min

      private final float min
      Mappings:
      Namespace Name Mixin selector
      official b Lark;b:F
      intermediary field_29013 Lnet/minecraft/class_5865;field_29013:F
      named min Lnet/minecraft/util/math/floatprovider/TrapezoidFloatProvider;min:F
    • max

      private final float max
      Mappings:
      Namespace Name Mixin selector
      official d Lark;d:F
      intermediary field_29014 Lnet/minecraft/class_5865;field_29014:F
      named max Lnet/minecraft/util/math/floatprovider/TrapezoidFloatProvider;max:F
    • plateau

      private final float plateau
      Mappings:
      Namespace Name Mixin selector
      official e Lark;e:F
      intermediary field_29015 Lnet/minecraft/class_5865;field_29015:F
      named plateau Lnet/minecraft/util/math/floatprovider/TrapezoidFloatProvider;plateau:F
  • Constructor Details

    • TrapezoidFloatProvider

      private TrapezoidFloatProvider(float min, float max, float plateau)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lark;<init>(FFF)V
      intermediary <init> Lnet/minecraft/class_5865;<init>(FFF)V
      named <init> Lnet/minecraft/util/math/floatprovider/TrapezoidFloatProvider;<init>(FFF)V
  • Method Details

    • create

      public static TrapezoidFloatProvider create(float min, float max, float plateau)
      Mappings:
      Namespace Name Mixin selector
      official a Lark;a(FFF)Lark;
      intermediary method_33926 Lnet/minecraft/class_5865;method_33926(FFF)Lnet/minecraft/class_5865;
      named create Lnet/minecraft/util/math/floatprovider/TrapezoidFloatProvider;create(FFF)Lnet/minecraft/util/math/floatprovider/TrapezoidFloatProvider;
    • get

      public float get(Random random)
      Specified by:
      get in class FloatProvider
      Mappings:
      Namespace Name Mixin selector
      official a Larg;a(Ljava/util/Random;)F
      intermediary method_33920 Lnet/minecraft/class_5863;method_33920(Ljava/util/Random;)F
      named get Lnet/minecraft/util/math/floatprovider/FloatProvider;get(Ljava/util/Random;)F
    • getMin

      public float getMin()
      Specified by:
      getMin in class FloatProvider
      Mappings:
      Namespace Name Mixin selector
      official a Larg;a()F
      intermediary method_33915 Lnet/minecraft/class_5863;method_33915()F
      named getMin Lnet/minecraft/util/math/floatprovider/FloatProvider;getMin()F
    • getMax

      public float getMax()
      Specified by:
      getMax in class FloatProvider
      Mappings:
      Namespace Name Mixin selector
      official b Larg;b()F
      intermediary method_33921 Lnet/minecraft/class_5863;method_33921()F
      named getMax Lnet/minecraft/util/math/floatprovider/FloatProvider;getMax()F
    • getType

      public FloatProviderType<?> getType()
      Specified by:
      getType in class FloatProvider
      Mappings:
      Namespace Name Mixin selector
      official c Larg;c()Larh;
      intermediary method_33923 Lnet/minecraft/class_5863;method_33923()Lnet/minecraft/class_5864;
      named getType Lnet/minecraft/util/math/floatprovider/FloatProvider;getType()Lnet/minecraft/util/math/floatprovider/FloatProviderType;
    • toString

      public String toString()
      Overrides:
      toString in class Object