Package net.minecraft.util.math.random
Interface BaseRandom
- All Superinterfaces:
Random
- All Known Implementing Classes:
CheckedRandom
,ChunkRandom
,LocalRandom
,ThreadSafeRandom
- Mappings:
Namespace Name named net/minecraft/util/math/random/BaseRandom
intermediary net/minecraft/class_6566
official dxk
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
static final float
Fields inherited from interface net.minecraft.util.math.random.Random
field_38930
-
Method Summary
Methods inherited from interface net.minecraft.util.math.random.Random
nextBetween, nextBetweenExclusive, nextGaussian, nextSplitter, nextTriangular, setSeed, skip, split
-
Field Details
-
FLOAT_MULTIPLIER
static final float FLOAT_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector named FLOAT_MULTIPLIER
Lnet/minecraft/util/math/random/BaseRandom;FLOAT_MULTIPLIER:F
intermediary field_34582
Lnet/minecraft/class_6566;field_34582:F
official b
Ldxk;b:F
-
DOUBLE_MULTIPLIER
static final double DOUBLE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector named DOUBLE_MULTIPLIER
Lnet/minecraft/util/math/random/BaseRandom;DOUBLE_MULTIPLIER:D
intermediary field_34583
Lnet/minecraft/class_6566;field_34583:D
official c
Ldxk;c:D
-
-
Method Details
-
next
int next(int bits) - Mappings:
Namespace Name Mixin selector named next
Lnet/minecraft/util/math/random/BaseRandom;next(I)I
intermediary method_43156
Lnet/minecraft/class_6566;method_43156(I)I
official c
Ldxk;c(I)I
-
nextInt
default int nextInt() -
nextInt
default int nextInt(int bound) -
nextLong
default long nextLong() -
nextBoolean
default boolean nextBoolean()- Specified by:
nextBoolean
in interfaceRandom
- Mappings:
Namespace Name Mixin selector named nextBoolean
Lnet/minecraft/util/math/random/Random;nextBoolean()Z
intermediary method_43056
Lnet/minecraft/class_5819;method_43056()Z
official h
Lazh;h()Z
-
nextFloat
default float nextFloat() -
nextDouble
default double nextDouble()- Specified by:
nextDouble
in interfaceRandom
- Mappings:
Namespace Name Mixin selector named nextDouble
Lnet/minecraft/util/math/random/Random;nextDouble()D
intermediary method_43058
Lnet/minecraft/class_5819;method_43058()D
official j
Lazh;j()D
-