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
official bja
intermediary net/minecraft/class_5861
named net/minecraft/util/math/floatprovider/ClampedNormalFloatProvider
  • Field Details

    • CODEC

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

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

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

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

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

    • ClampedNormalFloatProvider

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

    • create

      public static ClampedNormalFloatProvider create(float mean, float deviation, float min, float max)
      Mappings:
      Namespace Name Mixin selector
      official a Lbja;a(FFFF)Lbja;
      intermediary method_33900 Lnet/minecraft/class_5861;method_33900(FFFF)Lnet/minecraft/class_5861;
      named create Lnet/minecraft/util/math/floatprovider/ClampedNormalFloatProvider;create(FFFF)Lnet/minecraft/util/math/floatprovider/ClampedNormalFloatProvider;
    • get

      public float get(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjj;a(Lauv;)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
    • get

      public static float get(Random random, float mean, float deviation, float min, float max)
      Mappings:
      Namespace Name Mixin selector
      official a Lbja;a(Lauv;FFFF)F
      intermediary method_33903 Lnet/minecraft/class_5861;method_33903(Lnet/minecraft/class_5819;FFFF)F
      named get Lnet/minecraft/util/math/floatprovider/ClampedNormalFloatProvider;get(Lnet/minecraft/util/math/random/Random;FFFF)F
    • getMin

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