Class EaglercraftRandom


  • public class EaglercraftRandom
    extends java.lang.Object
    Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
    • Constructor Detail

      • EaglercraftRandom

        public EaglercraftRandom()
      • EaglercraftRandom

        public EaglercraftRandom​(long seed)
    • Method Detail

      • setSeed

        public void setSeed​(long yeed)
      • next

        protected int next​(int bits)
      • nextBytes

        public void nextBytes​(byte[] bytes)
      • nextInt

        public int nextInt()
      • nextInt

        public int nextInt​(int bound)
      • nextLong

        public long nextLong()
      • nextBoolean

        public boolean nextBoolean()
      • nextFloat

        public float nextFloat()
      • nextDouble

        public double nextDouble()
      • nextGaussian

        public double nextGaussian()