net.minecraft.world.gen.feature.util

public class DripstoneHelper

net.minecraft.world.level.levelgen.feature.SpeleothemUtils
net.minecraft.world.level.levelgen.feature.SpeleothemUtils
net.minecraft.class_5726
net.minecraft.world.gen.feature.util.DripstoneHelper

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected static double
getSpeleothemHeight(double xzDistanceFromCenter, double speleothemRadius, double scale, double bluntness)
getSpeleothemHeight(double xzDistanceFromCenter, double speleothemRadius, double scale, double bluntness)
method_33005(double arg0, double arg1, double arg2, double arg3)
scaleHeightFromRadius(double radius, double scale, double heightScale, double bluntness)
protected static boolean
isCircleMostlyEmbeddedInStone(WorldGenLevel level, BlockPos center, int xzRadius)
isCircleMostlyEmbeddedInStone(WorldGenLevel level, BlockPos center, int xzRadius)
method_33009(class_5281 arg0, class_2338 arg1, int arg2)
canGenerateBase(StructureWorldAccess world, BlockPos pos, int height)
protected static boolean
isEmptyOrWater(LevelAccessor level, BlockPos pos)
isEmptyOrWater(LevelAccessor level, BlockPos pos)
method_33006(class_1936 arg0, class_2338 arg1)
canGenerate(WorldAccess world, BlockPos pos)
protected static boolean
isEmptyOrWaterOrLava(LevelAccessor level, BlockPos pos)
isEmptyOrWaterOrLava(LevelAccessor level, BlockPos pos)
method_33388(class_1936 arg0, class_2338 arg1)
canGenerateOrLava(WorldAccess world, BlockPos pos)
protected static void
buildBaseToTipColumn(Direction direction, int totalLength, boolean mergedTip, Consumer<BlockState> consumer, Block pointedBlock)
buildBaseToTipColumn(Direction direction, int totalLength, boolean mergedTip, Consumer<BlockState> consumer, Block pointedBlock)
method_33012(class_2350 arg0, int arg1, boolean arg2, Consumer<class_2680> arg3, class_2248 arg4)
getDripstoneThickness(Direction direction, int height, boolean merge, Consumer<BlockState> callback, Block block)
protected static void
growSpeleothem(LevelAccessor level, BlockPos startPos, Direction tipDirection, int height, boolean mergedTip, Block baseBlock, Block pointedBlock, HolderSet<Block> replaceableBlocks)
growSpeleothem(LevelAccessor level, BlockPos startPos, Direction tipDirection, int height, boolean mergedTip, Block baseBlock, Block pointedBlock, HolderSet<Block> replaceableBlocks)
method_33010(class_1936 arg0, class_2338 arg1, class_2350 arg2, int arg3, boolean arg4, class_2248 arg5, class_2248 arg6, class_6885<class_2248> arg7)
generateSpeleothem(WorldAccess world, BlockPos pos, Direction direction, int height, boolean merge, Block baseBlock, Block pointedBlock, RegistryEntryList<Block> replaceableBlocks)
protected static boolean
placeBaseBlockIfPossible(LevelAccessor level, BlockPos pos, Block baseBlock, HolderSet<Block> replaceableBlocks)
placeBaseBlockIfPossible(LevelAccessor level, BlockPos pos, Block baseBlock, HolderSet<Block> replaceableBlocks)
method_1_4613(class_1936 arg0, class_2338 arg1, class_2248 arg2, class_6885<class_2248> arg3)
generateDripstoneBlock(WorldAccess world, BlockPos pos, Block baseBlock, RegistryEntryList<Block> replaceableBlocks)
private static BlockState
createPointedBlock(Direction direction, SpeleothemThickness thickness, Block pointedBlock)
createPointedBlock(Direction direction, SpeleothemThickness thickness, Block pointedBlock)
method_33013(class_2350 arg0, class_5691 arg1, class_2248 arg2)
getState(Direction direction, Thickness thickness, Block block)
public static boolean
isBaseOrLava(BlockState state, Block baseBlock, HolderSet<Block> replaceableBlocks)
isBaseOrLava(BlockState state, Block baseBlock, HolderSet<Block> replaceableBlocks)
method_1_4612(class_2680 arg0, class_2248 arg1, class_6885<class_2248> arg2)
canSupportLargeDripstone(BlockState state, Block baseBlock, RegistryEntryList<Block> replaceableBlocks)
public static boolean
isBase(BlockState state, Block baseBlock, HolderSet<Block> replaceableBlocks)
isBase(BlockState state, Block baseBlock, HolderSet<Block> replaceableBlocks)
method_1_4611(class_2680 arg0, class_2248 arg1, class_6885<class_2248> arg2)
canSupportSpeleothem(BlockState state, Block baseBlock, RegistryEntryList<Block> replaceableBlock)
public static boolean
isEmptyOrWater(BlockState state)
isEmptyOrWater(BlockState state)
method_33014(class_2680 arg0)
canGenerate(BlockState state)
public static boolean
isNeitherEmptyNorWater(BlockState state)
isNeitherEmptyNorWater(BlockState state)
method_40074(class_2680 arg0)
cannotGenerate(BlockState state)
public static boolean
isEmptyOrWaterOrLava(BlockState state)
isEmptyOrWaterOrLava(BlockState state)
method_33389(class_2680 arg0)
canGenerateOrLava(BlockState state)