Class DripstoneHelper
java.lang.Object
net.minecraft.world.gen.feature.util.DripstoneHelper
public class DripstoneHelper extends Object
-
Constructor Summary
Constructors Constructor Description DripstoneHelper()
-
Method Summary
Modifier and Type Method Description static boolean
canGenerate(BlockState state)
protected static boolean
canGenerate(WorldAccess world, BlockPos pos)
protected static boolean
canGenerateBase(StructureWorldAccess world, BlockPos pos, int height)
static boolean
canReplace(BlockState state)
protected static boolean
generateDripstoneBlock(StructureWorldAccess world, BlockPos pos)
protected static void
generatePointedDripstone(StructureWorldAccess world, BlockPos pos, Direction direction, int height, boolean merge)
protected static void
getDripstoneThickness(Direction direction, int height, boolean merge, Consumer<BlockState> callback)
private static BlockState
getState(Direction direction, Thickness thickness)
protected static double
scaleHeightFromRadius(double radius, double scale, double heightScale, double bluntness)
-
Constructor Details
-
DripstoneHelper
public DripstoneHelper()
-
-
Method Details
-
scaleHeightFromRadius
protected static double scaleHeightFromRadius(double radius, double scale, double heightScale, double bluntness) -
canGenerateBase
-
canGenerate
-
getDripstoneThickness
protected static void getDripstoneThickness(Direction direction, int height, boolean merge, Consumer<BlockState> callback) -
generatePointedDripstone
protected static void generatePointedDripstone(StructureWorldAccess world, BlockPos pos, Direction direction, int height, boolean merge) -
generateDripstoneBlock
-
getState
-
canReplace
-
canGenerate
-