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 ayl
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 Layl;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 Layl;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 Layl;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 Layl;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 Layl;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> Layl;<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 Layl;a(FFFF)Layl;
      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 Layu;a(Lalu;)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 Layl;a(Lalu;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 Layp;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 Layp;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 Layp;c()Layq;
      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