Class NoiseThresholdProvider
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.NoiseThresholdProvider
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<NoiseThresholdProvider>
private final BlockState
private final float
private final List<BlockState>
private final List<BlockState>
private final float
Fields inherited from class net.minecraft.world.level.levelgen.feature.stateproviders.NoiseBasedStateProvider
noise, parameters, scale, seed
-
Constructor Summary
ConstructorDescriptionNoiseThresholdProvider
(long p_191471_, NormalNoise.NoiseParameters p_191472_, float p_191473_, float p_191474_, float p_191475_, BlockState p_191476_, List<BlockState> p_191477_, List<BlockState> p_191478_) -
Method Summary
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
-
threshold
private final float threshold -
highChance
private final float highChance -
defaultState
-
lowStates
-
highStates
-
-
Constructor Details
-
NoiseThresholdProvider
public NoiseThresholdProvider(long p_191471_, NormalNoise.NoiseParameters p_191472_, float p_191473_, float p_191474_, float p_191475_, BlockState p_191476_, List<BlockState> p_191477_, List<BlockState> p_191478_)
-
-
Method Details
-
type
- Specified by:
type
in classBlockStateProvider
-
getState
- Specified by:
getState
in classBlockStateProvider
-