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
named net/minecraft/util/math/intprovider/ClampedNormalIntProvider
intermediary net/minecraft/class_6728
official bpw
  • Field Details

    • CODEC

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

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

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

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

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

    • ClampedNormalIntProvider

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

    • of

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

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

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

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

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

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

      public String toString()
      Overrides:
      toString in class Object