3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/util/Rotation.h"
7#include "mc/world/level/levelgen/structure/Projection.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 ::std::vector<uint64> getJigsawBlockIds(::StructureTemplatePool
const& pool);
43MCAPI ::std::vector<::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor const>>>
const&
44getProjectionProcessors(::Projection projection);
47 ::JigsawStructureUtils::MetadataCache&,
51 ::std::vector<::SharedTypes::v1_21_80::JigsawBlockMetadata>
const&,
52 ::std::vector<uint64>
const&,
53 ::JigsawStructureRegistry
const&
56MCFOLD
void noopEval(
int, ::BoundingBox&);
58MCAPI
bool placeInWorld(
59 ::IStructureTemplate
const& tmpl,
60 ::BlockSource& region,
62 ::BlockPos structureOrigin,
63 ::br::worldgen::StructurePlaceSettings
const& settings,
68MCAPI
bool probabilityReducer(int64 seed, int64 salt, ::ChunkPos chunkPos,
float probability);
72MCAPI
bool probabilityReducer(int64 seed, int64 salt, ::ChunkPos chunkPos,
float probability);
75MCAPI ::std::vector<uint64>
76shuffledJigsawBlockIndexes(::SharedTypes::v1_21_80::JigsawStructureMetadata
const& metadata, ::IRandom& random);
Definition BlockSource.h:71
Definition BoundingBox.h:13
Definition IStructureTemplate.h:15
Definition JigsawStructureRegistry.h:22
Definition StructureTemplatePool.h:16
Definition StructurePlaceSettings.h:18
Definition StructureProcessor.h:23