net.minecraft.world.gen.feature

public class SpeleothemClusterFeature

extends Feature<SpeleothemClusterFeatureConfig>

net.minecraft.world.level.levelgen.feature.SpeleothemClusterFeature
net.minecraft.world.level.levelgen.feature.SpeleothemClusterFeature
net.minecraft.class_5725
net.minecraft.world.gen.feature.SpeleothemClusterFeature

Constructor summary

ModifierConstructor
public (com.mojang.serialization.Codec<SpeleothemClusterFeatureConfig> codec)

Method summary

Modifier and TypeMethod
public boolean
place(FeaturePlaceContext<SpeleothemClusterConfiguration> context)
place(FeaturePlaceContext<SpeleothemClusterConfiguration> context)
method_13151(class_5821<class_1_773> arg0)
generate(FeatureContext<SpeleothemClusterFeatureConfig> arg0)
private void
placeColumn(WorldGenLevel level, RandomSource random, BlockPos pos, int dx, int dz, float chanceOfWater, double chanceOfStalagmiteOrStalactite, int clusterHeight, float density, SpeleothemClusterConfiguration config)
placeColumn(WorldGenLevel level, RandomSource random, BlockPos pos, int dx, int dz, float chanceOfWater, double chanceOfStalagmiteOrStalactite, int clusterHeight, float density, SpeleothemClusterConfiguration config)
method_33002(class_5281 arg0, class_5819 arg1, class_2338 arg2, int arg3, int arg4, float arg5, double arg6, int arg7, float arg8, class_1_773 arg9)
generate(StructureWorldAccess world, Random random, BlockPos pos, int localX, int localZ, float wetness, double dripstoneChance, int height, float density, SpeleothemClusterFeatureConfig config)
private boolean
isLava(LevelReader level, BlockPos pos)
isLava(LevelReader level, BlockPos pos)
method_33386(class_4538 arg0, class_2338 arg1)
isLava(WorldView world, BlockPos pos)
private int
getSpeleothemHeight(RandomSource random, int dx, int dz, float density, int maxHeight, SpeleothemClusterConfiguration config)
getSpeleothemHeight(RandomSource random, int dx, int dz, float density, int maxHeight, SpeleothemClusterConfiguration config)
method_33004(class_5819 arg0, int arg1, int arg2, float arg3, int arg4, class_1_773 arg5)
getHeight(Random random, int localX, int localZ, float density, int height, SpeleothemClusterFeatureConfig config)
private boolean
canPlacePool(WorldGenLevel level, BlockPos pos, SpeleothemClusterConfiguration config)
canPlacePool(WorldGenLevel level, BlockPos pos, SpeleothemClusterConfiguration config)
method_33000(class_5281 arg0, class_2338 arg1, class_1_773 arg2)
canWaterSpawn(StructureWorldAccess world, BlockPos pos, SpeleothemClusterFeatureConfig config)
private boolean
canBeAdjacentToWater(LevelAccessor level, BlockPos pos)
canBeAdjacentToWater(LevelAccessor level, BlockPos pos)
method_32998(class_1936 arg0, class_2338 arg1)
isStoneOrWater(WorldAccess world, BlockPos pos)
private void
replaceBlocksWithBaseBlocks(WorldGenLevel level, BlockPos firstPos, int maxCount, Direction direction, SpeleothemClusterConfiguration config)
replaceBlocksWithBaseBlocks(WorldGenLevel level, BlockPos firstPos, int maxCount, Direction direction, SpeleothemClusterConfiguration config)
method_33001(class_5281 arg0, class_2338 arg1, int arg2, class_2350 arg3, class_1_773 arg4)
placeDripstoneBlocks(StructureWorldAccess world, BlockPos pos, int height, Direction direction, SpeleothemClusterFeatureConfig config)
private double
getChanceOfStalagmiteOrStalactite(int xRadius, int zRadius, int dx, int dz, SpeleothemClusterConfiguration config)
getChanceOfStalagmiteOrStalactite(int xRadius, int zRadius, int dx, int dz, SpeleothemClusterConfiguration config)
method_32997(int arg0, int arg1, int arg2, int arg3, class_1_773 arg4)
dripstoneChance(int radiusX, int radiusZ, int localX, int localZ, SpeleothemClusterFeatureConfig config)
private static float
randomBetweenBiased(RandomSource random, float min, float maxExclusive, float mean, float deviation)
randomBetweenBiased(RandomSource random, float min, float maxExclusive, float mean, float deviation)
method_33003(class_5819 arg0, float arg1, float arg2, float arg3, float arg4)
clampedGaussian(Random random, float min, float max, float mean, float deviation)