类 WorldgenRandom
java.lang.Object
net.minecraft.world.level.levelgen.LegacyRandomSource
net.minecraft.world.level.levelgen.WorldgenRandom
- 所有已实现的接口:
RandomSource
,BitRandomSource
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 net.minecraft.world.level.levelgen.LegacyRandomSource
LegacyRandomSource.LegacyPositionalRandomFactory
-
字段概要
字段从接口继承的字段 net.minecraft.world.level.levelgen.BitRandomSource
DOUBLE_MULTIPLIER, FLOAT_MULTIPLIER
从接口继承的字段 net.minecraft.util.RandomSource
GAUSSIAN_SPREAD_FACTOR
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明fork()
int
getCount()
int
next
(int p_64708_) static RandomSource
seedSlimeChunk
(int p_224682_, int p_224683_, long p_224684_, long p_224685_) long
setDecorationSeed
(long p_64691_, int p_64692_, int p_64693_) void
setFeatureSeed
(long p_190065_, int p_190066_, int p_190067_) void
setLargeFeatureSeed
(long p_190069_, int p_190070_, int p_190071_) void
setLargeFeatureWithSalt
(long p_190059_, int p_190060_, int p_190061_, int p_190062_) void
setSeed
(long p_190073_) 从类继承的方法 net.minecraft.world.level.levelgen.LegacyRandomSource
nextGaussian
从类继承的方法 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
-
字段详细资料
-
randomSource
-
count
private int count
-
-
构造器详细资料
-
WorldgenRandom
-
-
方法详细资料
-
getCount
public int getCount() -
fork
- 指定者:
fork
在接口中RandomSource
- 覆盖:
fork
在类中LegacyRandomSource
-
forkPositional
- 指定者:
forkPositional
在接口中RandomSource
- 覆盖:
forkPositional
在类中LegacyRandomSource
-
next
public int next(int p_64708_) - 指定者:
next
在接口中BitRandomSource
- 覆盖:
next
在类中LegacyRandomSource
-
setSeed
public void setSeed(long p_190073_) - 指定者:
setSeed
在接口中RandomSource
- 覆盖:
setSeed
在类中LegacyRandomSource
-
setDecorationSeed
public long setDecorationSeed(long p_64691_, int p_64692_, int p_64693_) -
setFeatureSeed
public void setFeatureSeed(long p_190065_, int p_190066_, int p_190067_) -
setLargeFeatureSeed
public void setLargeFeatureSeed(long p_190069_, int p_190070_, int p_190071_) -
setLargeFeatureWithSalt
public void setLargeFeatureWithSalt(long p_190059_, int p_190060_, int p_190061_, int p_190062_) -
seedSlimeChunk
public static RandomSource seedSlimeChunk(int p_224682_, int p_224683_, long p_224684_, long p_224685_)
-