Interface AbstractRandom

All Known Subinterfaces:
BaseSimpleRandom
All Known Implementing Classes:
AtomicSimpleRandom, ChunkRandom, SimpleRandom, Xoroshiro128PlusPlusRandom

public interface AbstractRandom
Mappings:
Namespace Name
official cun
intermediary net/minecraft/class_5819
named net/minecraft/world/gen/random/AbstractRandom
  • Method Details

    • derive

      AbstractRandom derive()
      Mappings:
      Namespace Name Mixin selector
      official a Lcun;a()Lcun;
      intermediary method_38420 Lnet/minecraft/class_5819;method_38420()Lnet/minecraft/class_5819;
      named derive Lnet/minecraft/world/gen/random/AbstractRandom;derive()Lnet/minecraft/world/gen/random/AbstractRandom;
    • createRandomDeriver

      RandomDeriver createRandomDeriver()
      Mappings:
      Namespace Name Mixin selector
      official b Lcun;b()Lcum;
      intermediary method_38421 Lnet/minecraft/class_5819;method_38421()Lnet/minecraft/class_6574;
      named createRandomDeriver Lnet/minecraft/world/gen/random/AbstractRandom;createRandomDeriver()Lnet/minecraft/world/gen/random/RandomDeriver;
    • setSeed

      void setSeed(long seed)
      Mappings:
      Namespace Name Mixin selector
      official setSeed Lcun;setSeed(J)V
      intermediary setSeed Lnet/minecraft/class_5819;setSeed(J)V
      named setSeed Lnet/minecraft/world/gen/random/AbstractRandom;setSeed(J)V
    • nextInt

      int nextInt()
    • nextInt

      int nextInt(int bound)
      Mappings:
      Namespace Name Mixin selector
      official nextInt Lcun;nextInt(I)I
      intermediary nextInt Lnet/minecraft/class_5819;nextInt(I)I
      named nextInt Lnet/minecraft/world/gen/random/AbstractRandom;nextInt(I)I
    • nextBetween

      default int nextBetween(int min, int max)
      Mappings:
      Namespace Name Mixin selector
      official a Lcun;a(II)I
      intermediary method_39332 Lnet/minecraft/class_5819;method_39332(II)I
      named nextBetween Lnet/minecraft/world/gen/random/AbstractRandom;nextBetween(II)I
    • nextLong

      long nextLong()
    • nextBoolean

      boolean nextBoolean()
    • nextFloat

      float nextFloat()
    • nextDouble

      double nextDouble()
    • nextGaussian

      double nextGaussian()
    • skip

      default void skip(int count)
      Mappings:
      Namespace Name Mixin selector
      official b Lcun;b(I)V
      intermediary method_33650 Lnet/minecraft/class_5819;method_33650(I)V
      named skip Lnet/minecraft/world/gen/random/AbstractRandom;skip(I)V