3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/level/block/SpeleothemThickness.h"
16namespace SpeleothemUtils {
19MCNAPI
void buildBaseToTipColumn(
20 ::IBlockWorldGenAPI& target,
21 ::BlockPos
const& basePos,
22 uchar
const direction,
25 ::HashedString
const& speleothemBlock,
26 ::std::function<::Block
const&(::Block
const&)>
const baseBlockTransformer
30getPlacementBlock(uchar
const direction, ::SpeleothemThickness
const& thickness, ::HashedString
const& speleothemBlock);
32MCNAPI
float getSpeleothemHeight(
float xzDistanceFromCenter,
float speleothemRadius,
float scale,
float bluntness);
34MCNAPI
bool isBaseOrLava(
35 ::IBlockWorldGenAPI
const& target,
36 ::BlockPos
const& pos,
37 ::HashedString
const& baseBlock,
38 ::std::vector<::std::reference_wrapper<::HashedString const>>
const& replaceableBlocks
41MCNAPI
bool isCircleMostlyEmbeddedInTerrain(::IBlockWorldGenAPI& target, ::BlockPos
const& center,
int xzRadius);
43MCNAPI
bool placeBaseBlockIfPossible(
44 ::IBlockWorldGenAPI& target,
45 ::BlockPos
const& pos,
46 ::HashedString
const& baseBlock,
47 ::std::vector<::std::reference_wrapper<::HashedString const>>
const& replaceableBlocks
Definition HashedString.h:5
Definition IBlockWorldGenAPI.h:25