Interface BitRandomSource
- All Superinterfaces:
RandomSource
- All Known Implementing Classes:
LegacyRandomSource
,SingleThreadedRandomSource
,ThreadSafeLegacyRandomSource
,WorldgenRandom
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
static final float
Fields inherited from interface net.minecraft.util.RandomSource
GAUSSIAN_SPREAD_FACTOR
-
Method Summary
Methods inherited from interface net.minecraft.util.RandomSource
consumeCount, fork, forkPositional, nextGaussian, nextInt, nextIntBetweenInclusive, setSeed, triangle
-
Field Details
-
FLOAT_MULTIPLIER
static final float FLOAT_MULTIPLIER- See Also:
-
DOUBLE_MULTIPLIER
static final double DOUBLE_MULTIPLIER- See Also:
-
-
Method Details
-
next
int next(int p_188498_) -
nextInt
default int nextInt()- Specified by:
nextInt
in interfaceRandomSource
-
nextInt
default int nextInt(int p_188504_) - Specified by:
nextInt
in interfaceRandomSource
-
nextLong
default long nextLong()- Specified by:
nextLong
in interfaceRandomSource
-
nextBoolean
default boolean nextBoolean()- Specified by:
nextBoolean
in interfaceRandomSource
-
nextFloat
default float nextFloat()- Specified by:
nextFloat
in interfaceRandomSource
-
nextDouble
default double nextDouble()- Specified by:
nextDouble
in interfaceRandomSource
-