Interface BaseRandom

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

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

    • FLOAT_MULTIPLIER

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

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

    • next

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

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

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

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

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

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

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