Class RandomState
java.lang.Object
net.minecraft.world.level.levelgen.RandomState
-
Field Summary
Modifier and TypeFieldDescriptionprivate final PositionalRandomFactory
private final Map
<ResourceKey<NormalNoise.NoiseParameters>, NormalNoise> private final HolderGetter
<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_255668_, HolderGetter<NormalNoise.NoiseParameters> p_256663_, long p_255691_) -
Method Summary
Modifier and TypeMethodDescriptionstatic RandomState
create
(HolderGetter.Provider p_255935_, ResourceKey<NoiseGeneratorSettings> p_256314_, long p_256595_) static RandomState
create
(NoiseGeneratorSettings p_255761_, HolderGetter<NormalNoise.NoiseParameters> p_256649_, long p_255965_) getOrCreateNoise
(ResourceKey<NormalNoise.NoiseParameters> p_224561_) getOrCreateRandomFactory
(ResourceLocation p_224566_) router()
sampler()
-
Field Details
-
random
-
noises
-
router
-
sampler
-
surfaceSystem
-
aquiferRandom
-
oreRandom
-
noiseIntances
-
positionalRandoms
-
-
Constructor Details
-
RandomState
private RandomState(NoiseGeneratorSettings p_255668_, HolderGetter<NormalNoise.NoiseParameters> p_256663_, long p_255691_)
-
-
Method Details
-
create
public static RandomState create(HolderGetter.Provider p_255935_, ResourceKey<NoiseGeneratorSettings> p_256314_, long p_256595_) -
create
public static RandomState create(NoiseGeneratorSettings p_255761_, HolderGetter<NormalNoise.NoiseParameters> p_256649_, long p_255965_) -
getOrCreateNoise
-
getOrCreateRandomFactory
-
router
-
sampler
-
surfaceSystem
-
aquiferRandom
-
oreRandom
-