Class TrapezoidFloatProvider

java.lang.Object
net.minecraft.util.math.floatprovider.FloatProvider
net.minecraft.util.math.floatprovider.TrapezoidFloatProvider
All Implemented Interfaces:
FloatSupplier

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

    • CODEC

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

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

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

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

    • TrapezoidFloatProvider

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

    • create

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

      public float get(Random random)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/util/math/floatprovider/FloatSupplier;get(Lnet/minecraft/util/math/random/Random;)F
      intermediary method_33920 Lnet/minecraft/class_7373;method_33920(Lnet/minecraft/class_5819;)F
      official a Lbqe;a(Lazh;)F
    • getMin

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

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

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

      public String toString()
      Overrides:
      toString in class Object