类 ThreadSafeLegacyRandomSource
java.lang.Object
net.minecraft.world.level.levelgen.ThreadSafeLegacyRandomSource
- 所有已实现的接口:
RandomSource
,BitRandomSource
已过时。
-
字段概要
字段修饰符和类型字段说明private final MarsagliaPolarGaussian
已过时。private static final long
已过时。private static final int
已过时。private static final long
已过时。private static final long
已过时。private final AtomicLong
已过时。从接口继承的字段 net.minecraft.world.level.levelgen.BitRandomSource
DOUBLE_MULTIPLIER, FLOAT_MULTIPLIER
从接口继承的字段 net.minecraft.util.RandomSource
GAUSSIAN_SPREAD_FACTOR
-
构造器概要
构造器 -
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.level.levelgen.BitRandomSource
nextBoolean, nextDouble, nextFloat, nextInt, nextInt, nextLong
从接口继承的方法 net.minecraft.util.RandomSource
consumeCount, nextInt, nextIntBetweenInclusive, triangle, triangle
-
字段详细资料
-
MODULUS_BITS
private static final int MODULUS_BITS已过时。- 另请参阅:
-
MODULUS_MASK
private static final long MODULUS_MASK已过时。- 另请参阅:
-
MULTIPLIER
private static final long MULTIPLIER已过时。- 另请参阅:
-
INCREMENT
private static final long INCREMENT已过时。- 另请参阅:
-
seed
已过时。 -
gaussianSource
已过时。
-
-
构造器详细资料
-
ThreadSafeLegacyRandomSource
public ThreadSafeLegacyRandomSource(long p_224664_) 已过时。
-
-
方法详细资料
-
fork
已过时。- 指定者:
fork
在接口中RandomSource
-
forkPositional
已过时。- 指定者:
forkPositional
在接口中RandomSource
-
setSeed
public void setSeed(long p_224666_) 已过时。- 指定者:
setSeed
在接口中RandomSource
-
next
public int next(int p_224668_) 已过时。- 指定者:
next
在接口中BitRandomSource
-
nextGaussian
public double nextGaussian()已过时。- 指定者:
nextGaussian
在接口中RandomSource
-