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
official bdh
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 Lbdh;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 Lbdh;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 Lbdh;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 Lbdh;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> Lbdh;<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 Lbdh;a(FFF)Lbdh;
      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)
      Mappings:
      Namespace Name Mixin selector
      official a Lbdg;a(Lapo;)F
      intermediary method_33920 Lnet/minecraft/class_7373;method_33920(Lnet/minecraft/class_5819;)F
      named get Lnet/minecraft/util/math/floatprovider/FloatSupplier;get(Lnet/minecraft/util/math/random/Random;)F
    • getMin

      public float getMin()
      Specified by:
      getMin in class FloatProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lbdb;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 Lbdb;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 Lbdb;c()Lbdc;
      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