Class BiasedToBottomIntProvider

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

public class BiasedToBottomIntProvider extends IntProvider
Mappings:
Namespace Name
official bcu
intermediary net/minecraft/class_6333
named net/minecraft/util/math/intprovider/BiasedToBottomIntProvider
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<BiasedToBottomIntProvider> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lbcu;a:Lcom/mojang/serialization/Codec;
      intermediary field_33443 Lnet/minecraft/class_6333;field_33443:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/util/math/intprovider/BiasedToBottomIntProvider;CODEC:Lcom/mojang/serialization/Codec;
    • min

      private final int min
      Mappings:
      Namespace Name Mixin selector
      official b Lbcu;b:I
      intermediary field_33444 Lnet/minecraft/class_6333;field_33444:I
      named min Lnet/minecraft/util/math/intprovider/BiasedToBottomIntProvider;min:I
    • max

      private final int max
      Mappings:
      Namespace Name Mixin selector
      official f Lbcu;f:I
      intermediary field_33445 Lnet/minecraft/class_6333;field_33445:I
      named max Lnet/minecraft/util/math/intprovider/BiasedToBottomIntProvider;max:I
  • Constructor Details

    • BiasedToBottomIntProvider

      private BiasedToBottomIntProvider(int min, int max)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbcu;<init>(II)V
      intermediary <init> Lnet/minecraft/class_6333;<init>(II)V
      named <init> Lnet/minecraft/util/math/intprovider/BiasedToBottomIntProvider;<init>(II)V
  • Method Details

    • create

      public static BiasedToBottomIntProvider create(int min, int max)
      Parameters:
      min - the minimum value, inclusive
      max - the maximum value, inclusive
      Mappings:
      Namespace Name Mixin selector
      official a Lbcu;a(II)Lbcu;
      intermediary method_36249 Lnet/minecraft/class_6333;method_36249(II)Lnet/minecraft/class_6333;
      named create Lnet/minecraft/util/math/intprovider/BiasedToBottomIntProvider;create(II)Lnet/minecraft/util/math/intprovider/BiasedToBottomIntProvider;
    • get

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

      public int getMin()
      Specified by:
      getMin in class IntProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lbdc;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 Lbdc;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 Lbdc;c()Lbdd;
      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