3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/util/Rotation.h"
26namespace br::worldgen {
29MCAPI
int expansionHackCalc(
30 ::JigsawStructureUtils::MetadataCache& cache,
31 ::BlockPos
const& offset,
33 ::BoundingBox
const& box,
34 ::std::vector<::SharedTypes::v1_21_80::JigsawBlockMetadata>
const& targetJigsaws,
35 ::std::vector<uint64>
const& targetJigsawIndexes,
36 ::JigsawStructureRegistry
const& pools
39MCAPI
void expansionHackEval(
int expandTo, ::BoundingBox& box);
41MCAPI
bool isEmptyPool(::StructureTemplatePool
const& pool);
44 ::JigsawStructureUtils::MetadataCache&,
48 ::std::vector<::SharedTypes::v1_21_80::JigsawBlockMetadata>
const&,
49 ::std::vector<uint64>
const&,
50 ::JigsawStructureRegistry
const&
53MCFOLD
void noopEval(
int, ::BoundingBox&);
55MCAPI
bool placeInWorld(
56 ::IStructureTemplate
const& tmpl,
57 ::BlockSource& region,
59 ::BlockPos structureOrigin,
60 ::br::worldgen::StructurePlaceSettings
const& settings,
64MCAPI ::std::vector<::br::worldgen::StructureBlockInfo> processBlockInfos(
65 ::BlockSource& region,
67 ::BlockPos structureOrigin,
68 ::br::worldgen::StructurePlaceSettings
const& settings,
69 ::br::worldgen::StructureTemplateBlockPalette sourceBlockInfos
72MCAPI ::std::optional<::BlockPos> randomNamedJigsawLocation(
73 ::StructurePoolElement
const& source,
74 ::std::string_view name,
80MCAPI ::std::vector<uint64> shuffledJigsawBlockId(::StructureTemplatePool
const& pool, ::IRandom& random);
82MCAPI ::std::vector<uint64>
83shuffledJigsawBlockIndexes(::SharedTypes::v1_21_80::JigsawStructureMetadata
const& metadata, ::IRandom& random);
Definition BlockSource.h:68
Definition BoundingBox.h:13
Definition IStructureTemplate.h:15
Definition JigsawStructureRegistry.h:22
Definition StructurePoolElement.h:39
Definition StructureTemplatePool.h:16
Definition StructureBlockInfo.h:16
Definition StructurePlaceSettings.h:18
Definition StructureTemplateBlockPalette.h:11