Interface BaseRandom

All Superinterfaces:
Random
All Known Implementing Classes:
CheckedRandom, ChunkRandom, LocalRandom, ThreadSafeRandom

public interface BaseRandom extends Random
Mappings:
Namespace Name
official dgr
intermediary net/minecraft/class_6566
named net/minecraft/util/math/random/BaseRandom
  • Field Details

    • FLOAT_MULTIPLIER

      static final float FLOAT_MULTIPLIER
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Ldgr;b:F
      intermediary field_34582 Lnet/minecraft/class_6566;field_34582:F
      named FLOAT_MULTIPLIER Lnet/minecraft/util/math/random/BaseRandom;FLOAT_MULTIPLIER:F
    • DOUBLE_MULTIPLIER

      static final double DOUBLE_MULTIPLIER
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Ldgr;c:D
      intermediary field_34583 Lnet/minecraft/class_6566;field_34583:D
      named DOUBLE_MULTIPLIER Lnet/minecraft/util/math/random/BaseRandom;DOUBLE_MULTIPLIER:D
  • Method Details

    • next

      int next(int bits)
      Mappings:
      Namespace Name Mixin selector
      official c Ldgr;c(I)I
      intermediary method_43156 Lnet/minecraft/class_6566;method_43156(I)I
      named next Lnet/minecraft/util/math/random/BaseRandom;next(I)I
    • nextInt

      default int nextInt()
      Specified by:
      nextInt in interface Random
      Mappings:
      Namespace Name Mixin selector
      official f Lapd;f()I
      intermediary method_43054 Lnet/minecraft/class_5819;method_43054()I
      named nextInt Lnet/minecraft/util/math/random/Random;nextInt()I
    • nextInt

      default int nextInt(int bound)
      Specified by:
      nextInt in interface Random
      Mappings:
      Namespace Name Mixin selector
      official a Lapd;a(I)I
      intermediary method_43048 Lnet/minecraft/class_5819;method_43048(I)I
      named nextInt Lnet/minecraft/util/math/random/Random;nextInt(I)I
    • nextLong

      default long nextLong()
      Specified by:
      nextLong in interface Random
      Mappings:
      Namespace Name Mixin selector
      official g Lapd;g()J
      intermediary method_43055 Lnet/minecraft/class_5819;method_43055()J
      named nextLong Lnet/minecraft/util/math/random/Random;nextLong()J
    • nextBoolean

      default boolean nextBoolean()
      Specified by:
      nextBoolean in interface Random
      Mappings:
      Namespace Name Mixin selector
      official h Lapd;h()Z
      intermediary method_43056 Lnet/minecraft/class_5819;method_43056()Z
      named nextBoolean Lnet/minecraft/util/math/random/Random;nextBoolean()Z
    • nextFloat

      default float nextFloat()
      Specified by:
      nextFloat in interface Random
      Mappings:
      Namespace Name Mixin selector
      official i Lapd;i()F
      intermediary method_43057 Lnet/minecraft/class_5819;method_43057()F
      named nextFloat Lnet/minecraft/util/math/random/Random;nextFloat()F
    • nextDouble

      default double nextDouble()
      Specified by:
      nextDouble in interface Random
      Mappings:
      Namespace Name Mixin selector
      official j Lapd;j()D
      intermediary method_43058 Lnet/minecraft/class_5819;method_43058()D
      named nextDouble Lnet/minecraft/util/math/random/Random;nextDouble()D