Class ClampedNormalIntProvider

java.lang.Object
net.minecraft.util.math.intprovider.IntProvider
net.minecraft.util.math.intprovider.ClampedNormalIntProvider

public class ClampedNormalIntProvider extends IntProvider
Mappings:
Namespace Name
official aur
intermediary net/minecraft/class_6728
named net/minecraft/util/math/intprovider/ClampedNormalIntProvider
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<ClampedNormalIntProvider> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Laur;a:Lcom/mojang/serialization/Codec;
      intermediary field_35352 Lnet/minecraft/class_6728;field_35352:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/util/math/intprovider/ClampedNormalIntProvider;CODEC:Lcom/mojang/serialization/Codec;
    • mean

      private float mean
      Mappings:
      Namespace Name Mixin selector
      official b Laur;b:F
      intermediary field_35353 Lnet/minecraft/class_6728;field_35353:F
      named mean Lnet/minecraft/util/math/intprovider/ClampedNormalIntProvider;mean:F
    • deviation

      private float deviation
      Mappings:
      Namespace Name Mixin selector
      official f Laur;f:F
      intermediary field_35354 Lnet/minecraft/class_6728;field_35354:F
      named deviation Lnet/minecraft/util/math/intprovider/ClampedNormalIntProvider;deviation:F
    • min

      private int min
      Mappings:
      Namespace Name Mixin selector
      official g Laur;g:I
      intermediary field_35355 Lnet/minecraft/class_6728;field_35355:I
      named min Lnet/minecraft/util/math/intprovider/ClampedNormalIntProvider;min:I
    • max

      private int max
      Mappings:
      Namespace Name Mixin selector
      official h Laur;h:I
      intermediary field_35356 Lnet/minecraft/class_6728;field_35356:I
      named max Lnet/minecraft/util/math/intprovider/ClampedNormalIntProvider;max:I
  • Constructor Details

    • ClampedNormalIntProvider

      private ClampedNormalIntProvider(float mean, float deviation, int min, int max)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laur;<init>(FFII)V
      intermediary <init> Lnet/minecraft/class_6728;<init>(FFII)V
      named <init> Lnet/minecraft/util/math/intprovider/ClampedNormalIntProvider;<init>(FFII)V
  • Method Details

    • of

      public static ClampedNormalIntProvider of(float mean, float deviation, int min, int max)
      Mappings:
      Namespace Name Mixin selector
      official a Laur;a(FFII)Laur;
      intermediary method_39156 Lnet/minecraft/class_6728;method_39156(FFII)Lnet/minecraft/class_6728;
      named of Lnet/minecraft/util/math/intprovider/ClampedNormalIntProvider;of(FFII)Lnet/minecraft/util/math/intprovider/ClampedNormalIntProvider;
    • get

      public int get(Random random)
      Specified by:
      get in class IntProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lauw;a(Ljava/util/Random;)I
      intermediary method_35008 Lnet/minecraft/class_6017;method_35008(Ljava/util/Random;)I
      named get Lnet/minecraft/util/math/intprovider/IntProvider;get(Ljava/util/Random;)I
    • next

      public static int next(Random random, float mean, float deviation, float min, float max)
      Mappings:
      Namespace Name Mixin selector
      official a Laur;a(Ljava/util/Random;FFFF)I
      intermediary method_39159 Lnet/minecraft/class_6728;method_39159(Ljava/util/Random;FFFF)I
      named next Lnet/minecraft/util/math/intprovider/ClampedNormalIntProvider;next(Ljava/util/Random;FFFF)I
    • getMin

      public int getMin()
      Specified by:
      getMin in class IntProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lauw;a()I
      intermediary method_35009 Lnet/minecraft/class_6017;method_35009()I
      named getMin Lnet/minecraft/util/math/intprovider/IntProvider;getMin()I
    • getMax

      public int getMax()
      Specified by:
      getMax in class IntProvider
      Mappings:
      Namespace Name Mixin selector
      official b Lauw;b()I
      intermediary method_35011 Lnet/minecraft/class_6017;method_35011()I
      named getMax Lnet/minecraft/util/math/intprovider/IntProvider;getMax()I
    • getType

      public IntProviderType<?> getType()
      Specified by:
      getType in class IntProvider
      Mappings:
      Namespace Name Mixin selector
      official c Lauw;c()Lauy;
      intermediary method_35012 Lnet/minecraft/class_6017;method_35012()Lnet/minecraft/class_6018;
      named getType Lnet/minecraft/util/math/intprovider/IntProvider;getType()Lnet/minecraft/util/math/intprovider/IntProviderType;
    • toString

      public String toString()
      Overrides:
      toString in class Object