Package net.minecraft.util.math.random
Class ThreadSafeRandom
java.lang.Object
net.minecraft.util.math.random.ThreadSafeRandom
- All Implemented Interfaces:
BaseRandom
,Random
Deprecated.
A random that can be shared by multiple threads safely.
- Mappings:
Namespace Name named net/minecraft/util/math/random/ThreadSafeRandom
intermediary net/minecraft/class_7384
official dzo
-
Field Summary
Modifier and TypeFieldDescriptionprivate final GaussianGenerator
Deprecated.private static final long
Deprecated.private static final int
Deprecated.private static final long
Deprecated.private final AtomicLong
Deprecated.private static final long
Deprecated.Fields inherited from interface net.minecraft.util.math.random.BaseRandom
DOUBLE_MULTIPLIER, FLOAT_MULTIPLIER
Fields inherited from interface net.minecraft.util.math.random.Random
field_38930
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.util.math.random.BaseRandom
nextBoolean, nextDouble, nextFloat, nextInt, nextInt, nextLong
Methods inherited from interface net.minecraft.util.math.random.Random
nextBetween, nextBetweenExclusive, nextTriangular, skip
-
Field Details
-
INT_BITS
private static final int INT_BITSDeprecated.- See Also:
- Mappings:
Namespace Name Mixin selector named INT_BITS
Lnet/minecraft/util/math/random/ThreadSafeRandom;INT_BITS:I
intermediary field_38760
Lnet/minecraft/class_7384;field_38760:I
official d
Ldzo;d:I
-
SEED_MASK
private static final long SEED_MASKDeprecated.- See Also:
- Mappings:
Namespace Name Mixin selector named SEED_MASK
Lnet/minecraft/util/math/random/ThreadSafeRandom;SEED_MASK:J
intermediary field_38761
Lnet/minecraft/class_7384;field_38761:J
official e
Ldzo;e:J
-
MULTIPLIER
private static final long MULTIPLIERDeprecated.- See Also:
- Mappings:
Namespace Name Mixin selector named MULTIPLIER
Lnet/minecraft/util/math/random/ThreadSafeRandom;MULTIPLIER:J
intermediary field_38762
Lnet/minecraft/class_7384;field_38762:J
official f
Ldzo;f:J
-
INCREMENT
private static final long INCREMENTDeprecated.- See Also:
- Mappings:
Namespace Name Mixin selector named INCREMENT
Lnet/minecraft/util/math/random/ThreadSafeRandom;INCREMENT:J
intermediary field_38763
Lnet/minecraft/class_7384;field_38763:J
official g
Ldzo;g:J
-
seed
Deprecated.- Mappings:
Namespace Name Mixin selector named seed
Lnet/minecraft/util/math/random/ThreadSafeRandom;seed:Ljava/util/concurrent/atomic/AtomicLong;
intermediary field_38764
Lnet/minecraft/class_7384;field_38764:Ljava/util/concurrent/atomic/AtomicLong;
official h
Ldzo;h:Ljava/util/concurrent/atomic/AtomicLong;
-
gaussianGenerator
Deprecated.- Mappings:
Namespace Name Mixin selector named gaussianGenerator
Lnet/minecraft/util/math/random/ThreadSafeRandom;gaussianGenerator:Lnet/minecraft/util/math/random/GaussianGenerator;
intermediary field_38765
Lnet/minecraft/class_7384;field_38765:Lnet/minecraft/class_6672;
official i
Ldzo;i:Ldyx;
-
-
Constructor Details
-
ThreadSafeRandom
public ThreadSafeRandom(long seed) Deprecated.- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/math/random/ThreadSafeRandom;<init>(J)V
intermediary <init>
Lnet/minecraft/class_7384;<init>(J)V
official <init>
Ldzo;<init>(J)V
-
-
Method Details
-
split
Deprecated. -
nextSplitter
Deprecated.- Specified by:
nextSplitter
in interfaceRandom
- Mappings:
Namespace Name Mixin selector named nextSplitter
Lnet/minecraft/util/math/random/Random;nextSplitter()Lnet/minecraft/util/math/random/RandomSplitter;
intermediary method_38421
Lnet/minecraft/class_5819;method_38421()Lnet/minecraft/class_6574;
official e
Layv;e()Ldzi;
-
setSeed
public void setSeed(long seed) Deprecated. -
next
public int next(int bits) Deprecated.- Specified by:
next
in interfaceBaseRandom
- 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
Ldyk;c(I)I
-
nextGaussian
public double nextGaussian()Deprecated.- Specified by:
nextGaussian
in interfaceRandom
- Mappings:
Namespace Name Mixin selector named nextGaussian
Lnet/minecraft/util/math/random/Random;nextGaussian()D
intermediary method_43059
Lnet/minecraft/class_5819;method_43059()D
official k
Layv;k()D
-