net.minecraft.world.gen.stateprovider

public class NoiseThresholdBlockStateProvider

extends AbstractNoiseBlockStateProvider

net.minecraft.world.level.levelgen.feature.stateproviders.NoiseThresholdProvider
net.minecraft.world.level.levelgen.feature.stateproviders.NoiseThresholdProvider
net.minecraft.class_6581
net.minecraft.world.gen.stateprovider.NoiseThresholdBlockStateProvider

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<NoiseThresholdBlockStateProvider>
CODEC
CODEC
field_34713
CODEC
private final float
threshold
threshold
field_34714
threshold
private final float
highChance
highChance
field_34715
highChance
private final BlockState
defaultState
defaultState
field_34716
defaultState
private final List<BlockState>
lowStates
lowStates
field_34717
lowStates
private final List<BlockState>
highStates
highStates
field_34718
highStates

Constructor summary

ModifierConstructor
public (long seed, DoublePerlinNoiseSampler$NoiseParameters noiseParameters, float scale, float threshold, float highChance, BlockState defaultState, List<BlockState> lowStates, List<BlockState> highStates)

Method summary

Modifier and TypeMethod
protected BlockStateProviderType<?>
type()
type()
method_28862()
getType()
public BlockState
getState(WorldGenLevel level, RandomSource random, BlockPos pos)
getState(WorldGenLevel level, RandomSource random, BlockPos pos)
method_23455(class_5281 arg0, class_5819 arg1, class_2338 arg2)
get(StructureWorldAccess arg0, Random arg1, BlockPos arg2)