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 SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<NoiseThresholdProvider>private final BlockStateprivate final floatprivate final List<BlockState>private final List<BlockState>private final floatFields inherited from class net.minecraft.world.level.levelgen.feature.stateproviders.NoiseBasedStateProvidernoise, parameters, scale, seed
- 
Constructor SummaryConstructorsConstructorDescriptionNoiseThresholdProvider(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 SummaryModifier and TypeMethodDescriptiongetState(RandomSource p_225916_, BlockPos p_225917_) protected BlockStateProviderType<?>type()Methods inherited from class net.minecraft.world.level.levelgen.feature.stateproviders.NoiseBasedStateProvidergetNoiseValue, noiseCodecMethods inherited from class net.minecraft.world.level.levelgen.feature.stateproviders.BlockStateProvidersimple, simple
- 
Field Details- 
CODEC
- 
thresholdprivate final float threshold
- 
highChanceprivate final float highChance
- 
defaultState
- 
lowStates
- 
highStates
 
- 
- 
Constructor Details- 
NoiseThresholdProviderpublic 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:
- typein class- BlockStateProvider
 
- 
getState- Specified by:
- getStatein class- BlockStateProvider
 
 
-