Package net.lax1dude.eaglercraft.v1_8
Class EaglercraftRandom
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.EaglercraftRandom
-
public class EaglercraftRandom extends java.lang.ObjectCopyright (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 Summary
Constructors Constructor Description EaglercraftRandom()EaglercraftRandom(long seed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intnext(int bits)booleannextBoolean()voidnextBytes(byte[] bytes)doublenextDouble()floatnextFloat()doublenextGaussian()intnextInt()intnextInt(int bound)longnextLong()voidsetSeed(long yeed)
-
-
-
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()
-
-