Class ClampedNormalFloatProvider

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

public class ClampedNormalFloatProvider extends FloatProvider
Mappings:
Namespace Name
named net/minecraft/util/math/floatprovider/ClampedNormalFloatProvider
intermediary net/minecraft/class_5861
official bpp
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<ClampedNormalFloatProvider> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/util/math/floatprovider/ClampedNormalFloatProvider;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_28998 Lnet/minecraft/class_5861;field_28998:Lcom/mojang/serialization/MapCodec;
      official a Lbpp;a:Lcom/mojang/serialization/MapCodec;
    • mean

      private final float mean
      Mappings:
      Namespace Name Mixin selector
      named mean Lnet/minecraft/util/math/floatprovider/ClampedNormalFloatProvider;mean:F
      intermediary field_28999 Lnet/minecraft/class_5861;field_28999:F
      official b Lbpp;b:F
    • deviation

      private final float deviation
      Mappings:
      Namespace Name Mixin selector
      named deviation Lnet/minecraft/util/math/floatprovider/ClampedNormalFloatProvider;deviation:F
      intermediary field_29000 Lnet/minecraft/class_5861;field_29000:F
      official d Lbpp;d:F
    • min

      private final float min
      Mappings:
      Namespace Name Mixin selector
      named min Lnet/minecraft/util/math/floatprovider/ClampedNormalFloatProvider;min:F
      intermediary field_29001 Lnet/minecraft/class_5861;field_29001:F
      official e Lbpp;e:F
    • max

      private final float max
      Mappings:
      Namespace Name Mixin selector
      named max Lnet/minecraft/util/math/floatprovider/ClampedNormalFloatProvider;max:F
      intermediary field_29002 Lnet/minecraft/class_5861;field_29002:F
      official f Lbpp;f:F
  • Constructor Details

    • ClampedNormalFloatProvider

      private ClampedNormalFloatProvider(float mean, float deviation, float min, float max)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/math/floatprovider/ClampedNormalFloatProvider;<init>(FFFF)V
      intermediary <init> Lnet/minecraft/class_5861;<init>(FFFF)V
      official <init> Lbpp;<init>(FFFF)V
  • Method Details

    • create

      public static ClampedNormalFloatProvider create(float mean, float deviation, float min, float max)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/util/math/floatprovider/ClampedNormalFloatProvider;create(FFFF)Lnet/minecraft/util/math/floatprovider/ClampedNormalFloatProvider;
      intermediary method_33900 Lnet/minecraft/class_5861;method_33900(FFFF)Lnet/minecraft/class_5861;
      official a Lbpp;a(FFFF)Lbpp;
    • 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 Lbpy;a(Layv;)F
    • get

      public static float get(Random random, float mean, float deviation, float min, float max)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/util/math/floatprovider/ClampedNormalFloatProvider;get(Lnet/minecraft/util/math/random/Random;FFFF)F
      intermediary method_33903 Lnet/minecraft/class_5861;method_33903(Lnet/minecraft/class_5819;FFFF)F
      official a Lbpp;a(Layv;FFFF)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 Lbpt;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 Lbpt;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 Lbpt;c()Lbpu;
    • toString

      public String toString()
      Overrides:
      toString in class Object