Class DualNoiseProvider
java.lang.Object
net.minecraft.world.level.levelgen.feature.stateproviders.BlockStateProvider
net.minecraft.world.level.levelgen.feature.stateproviders.NoiseBasedStateProvider
net.minecraft.world.level.levelgen.feature.stateproviders.NoiseProvider
net.minecraft.world.level.levelgen.feature.stateproviders.DualNoiseProvider
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DualNoiseProvider>
private final NormalNoise
private final NormalNoise.NoiseParameters
private final float
private final InclusiveRange<Integer>
Fields inherited from class net.minecraft.world.level.levelgen.feature.stateproviders.NoiseProvider
states
Fields inherited from class net.minecraft.world.level.levelgen.feature.stateproviders.NoiseBasedStateProvider
noise, parameters, scale, seed
-
Constructor Summary
ConstructorDescriptionDualNoiseProvider
(InclusiveRange<Integer> p_191396_, NormalNoise.NoiseParameters p_191397_, float p_191398_, long p_191399_, NormalNoise.NoiseParameters p_191400_, float p_191401_, List<BlockState> p_191402_) -
Method Summary
Modifier and TypeMethodDescriptionprotected double
getSlowNoiseValue
(BlockPos p_191407_) getState
(RandomSource p_225910_, BlockPos p_225911_) protected BlockStateProviderType<?>
type()
Methods inherited from class net.minecraft.world.level.levelgen.feature.stateproviders.NoiseProvider
getRandomState, getRandomState, noiseProviderCodec
Methods inherited from class net.minecraft.world.level.levelgen.feature.stateproviders.NoiseBasedStateProvider
getNoiseValue, noiseCodec
Methods inherited from class net.minecraft.world.level.levelgen.feature.stateproviders.BlockStateProvider
simple, simple
-
Field Details
-
CODEC
-
variety
-
slowNoiseParameters
-
slowScale
private final float slowScale -
slowNoise
-
-
Constructor Details
-
DualNoiseProvider
public DualNoiseProvider(InclusiveRange<Integer> p_191396_, NormalNoise.NoiseParameters p_191397_, float p_191398_, long p_191399_, NormalNoise.NoiseParameters p_191400_, float p_191401_, List<BlockState> p_191402_)
-
-
Method Details
-
type
- Overrides:
type
in classNoiseProvider
-
getState
- Overrides:
getState
in classNoiseProvider
-
getSlowNoiseValue
-