Class ClampedNormalFloatProvider

java.lang.Object
net.minecraft.util.math.floatprovider.FloatProvider
net.minecraft.util.math.floatprovider.ClampedNormalFloatProvider

public class ClampedNormalFloatProvider extends FloatProvider
Mappings:
Namespace Name
official avi
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 Lavi;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 float mean
      Mappings:
      Namespace Name Mixin selector
      official b Lavi;b:F
      intermediary field_28999 Lnet/minecraft/class_5861;field_28999:F
      named mean Lnet/minecraft/util/math/floatprovider/ClampedNormalFloatProvider;mean:F
    • deviation

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

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

      private float max
      Mappings:
      Namespace Name Mixin selector
      official f Lavi;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> Lavi;<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 Lavi;a(FFFF)Lavi;
      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)
      Specified by:
      get in class FloatProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lavm;a(Ljava/util/Random;)F
      intermediary method_33920 Lnet/minecraft/class_5863;method_33920(Ljava/util/Random;)F
      named get Lnet/minecraft/util/math/floatprovider/FloatProvider;get(Ljava/util/Random;)F
    • get

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

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