Class UniformFloatProvider

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

public class UniformFloatProvider extends FloatProvider
Mappings:
Namespace Name
named net/minecraft/util/math/floatprovider/UniformFloatProvider
intermediary net/minecraft/class_5866
official bqg
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<UniformFloatProvider> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/util/math/floatprovider/UniformFloatProvider;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_29016 Lnet/minecraft/class_5866;field_29016:Lcom/mojang/serialization/MapCodec;
      official a Lbqg;a:Lcom/mojang/serialization/MapCodec;
    • min

      private final float min
      Mappings:
      Namespace Name Mixin selector
      named min Lnet/minecraft/util/math/floatprovider/UniformFloatProvider;min:F
      intermediary field_29017 Lnet/minecraft/class_5866;field_29017:F
      official b Lbqg;b:F
    • max

      private final float max
      Mappings:
      Namespace Name Mixin selector
      named max Lnet/minecraft/util/math/floatprovider/UniformFloatProvider;max:F
      intermediary field_29018 Lnet/minecraft/class_5866;field_29018:F
      official d Lbqg;d:F
  • Constructor Details

    • UniformFloatProvider

      private UniformFloatProvider(float min, float max)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/math/floatprovider/UniformFloatProvider;<init>(FF)V
      intermediary <init> Lnet/minecraft/class_5866;<init>(FF)V
      official <init> Lbqg;<init>(FF)V
  • Method Details

    • create

      public static UniformFloatProvider create(float min, float max)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/util/math/floatprovider/UniformFloatProvider;create(FF)Lnet/minecraft/util/math/floatprovider/UniformFloatProvider;
      intermediary method_33934 Lnet/minecraft/class_5866;method_33934(FF)Lnet/minecraft/class_5866;
      official b Lbqg;b(FF)Lbqg;
    • 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