Interface RandomSource

All Known Implementing Classes:
SimpleRandomSource, WorldgenRandom

public interface RandomSource
  • Method Details

    • setSeed

      void setSeed(long p_158879_)
    • nextInt

      int nextInt()
    • nextInt

      int nextInt(int p_158878_)
    • nextLong

      long nextLong()
    • nextBoolean

      boolean nextBoolean()
    • nextFloat

      float nextFloat()
    • nextDouble

      double nextDouble()
    • nextGaussian

      double nextGaussian()
    • consumeCount

      default void consumeCount(int p_158877_)