Class WorldgenRandom
java.lang.Object
net.minecraft.world.level.levelgen.LegacyRandomSource
net.minecraft.world.level.levelgen.WorldgenRandom
- All Implemented Interfaces:
- RandomSource,- BitRandomSource
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class net.minecraft.world.level.levelgen.LegacyRandomSourceLegacyRandomSource.LegacyPositionalRandomFactory
- 
Field SummaryFieldsFields inherited from interface net.minecraft.world.level.levelgen.BitRandomSourceDOUBLE_MULTIPLIER, FLOAT_MULTIPLIERFields inherited from interface net.minecraft.util.RandomSourceGAUSSIAN_SPREAD_FACTOR
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfork()intgetCount()intnext(int p_64708_) static RandomSourceseedSlimeChunk(int p_224682_, int p_224683_, long p_224684_, long p_224685_) longsetDecorationSeed(long p_64691_, int p_64692_, int p_64693_) voidsetFeatureSeed(long p_190065_, int p_190066_, int p_190067_) voidsetLargeFeatureSeed(long p_190069_, int p_190070_, int p_190071_) voidsetLargeFeatureWithSalt(long p_190059_, int p_190060_, int p_190061_, int p_190062_) voidsetSeed(long p_190073_) Methods inherited from class net.minecraft.world.level.levelgen.LegacyRandomSourcenextGaussianMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.levelgen.BitRandomSourcenextBoolean, nextDouble, nextFloat, nextInt, nextInt, nextLongMethods inherited from interface net.minecraft.util.RandomSourceconsumeCount, nextInt, nextIntBetweenInclusive, triangle
- 
Field Details- 
randomSource
- 
countprivate int count
 
- 
- 
Constructor Details- 
WorldgenRandom
 
- 
- 
Method Details- 
getCountpublic int getCount()
- 
fork- Specified by:
- forkin interface- RandomSource
- Overrides:
- forkin class- LegacyRandomSource
 
- 
forkPositional- Specified by:
- forkPositionalin interface- RandomSource
- Overrides:
- forkPositionalin class- LegacyRandomSource
 
- 
nextpublic int next(int p_64708_) - Specified by:
- nextin interface- BitRandomSource
- Overrides:
- nextin class- LegacyRandomSource
 
- 
setSeedpublic void setSeed(long p_190073_) - Specified by:
- setSeedin interface- RandomSource
- Overrides:
- setSeedin class- LegacyRandomSource
 
- 
setDecorationSeedpublic long setDecorationSeed(long p_64691_, int p_64692_, int p_64693_) 
- 
setFeatureSeedpublic void setFeatureSeed(long p_190065_, int p_190066_, int p_190067_) 
- 
setLargeFeatureSeedpublic void setLargeFeatureSeed(long p_190069_, int p_190070_, int p_190071_) 
- 
setLargeFeatureWithSaltpublic void setLargeFeatureWithSalt(long p_190059_, int p_190060_, int p_190061_, int p_190062_) 
- 
seedSlimeChunkpublic static RandomSource seedSlimeChunk(int p_224682_, int p_224683_, long p_224684_, long p_224685_) 
 
-