Class RandomState
java.lang.Object
net.minecraft.world.level.levelgen.RandomState
-
Field Summary
Modifier and TypeFieldDescriptionprivate final PositionalRandomFactory
private final long
private final Map<ResourceKey<NormalNoise.NoiseParameters>,
NormalNoise> private final Registry<NormalNoise.NoiseParameters>
private final PositionalRandomFactory
private final Map<ResourceLocation,
PositionalRandomFactory> (package private) final PositionalRandomFactory
private final NoiseRouter
private final Climate.Sampler
private final SurfaceSystem
-
Constructor Summary
ModifierConstructorDescriptionprivate
RandomState
(NoiseGeneratorSettings p_224556_, Registry<NormalNoise.NoiseParameters> p_224557_, long p_224558_) -
Method Summary
Modifier and TypeMethodDescriptionstatic RandomState
create
(RegistryAccess p_224575_, ResourceKey<NoiseGeneratorSettings> p_224576_, long p_224577_) static RandomState
create
(NoiseGeneratorSettings p_224571_, Registry<NormalNoise.NoiseParameters> p_224572_, long p_224573_) getOrCreateNoise
(ResourceKey<NormalNoise.NoiseParameters> p_224561_) getOrCreateRandomFactory
(ResourceLocation p_224566_) long
router()
sampler()
-
Field Details
-
random
-
legacyLevelSeed
private final long legacyLevelSeed -
noises
-
router
-
sampler
-
surfaceSystem
-
aquiferRandom
-
oreRandom
-
noiseIntances
-
positionalRandoms
-
-
Constructor Details
-
RandomState
private RandomState(NoiseGeneratorSettings p_224556_, Registry<NormalNoise.NoiseParameters> p_224557_, long p_224558_)
-
-
Method Details
-
create
public static RandomState create(RegistryAccess p_224575_, ResourceKey<NoiseGeneratorSettings> p_224576_, long p_224577_) -
create
public static RandomState create(NoiseGeneratorSettings p_224571_, Registry<NormalNoise.NoiseParameters> p_224572_, long p_224573_) -
getOrCreateNoise
-
getOrCreateRandomFactory
-
legacyLevelSeed
public long legacyLevelSeed() -
router
-
sampler
-
surfaceSystem
-
aquiferRandom
-
oreRandom
-