3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/util/Rotation.h"
7#include "mc/world/level/levelgen/structure/Projection.h"
27namespace br::worldgen {
30MCNAPI
int expansionHackCalc(
31 ::JigsawStructureUtils::MetadataCache& cache,
32 ::BlockPos
const& offset,
34 ::BoundingBox
const& box,
35 ::std::vector<::SharedTypes::v1_21_80::JigsawBlockMetadata>
const& targetJigsaws,
36 ::std::vector<uint64>
const& targetJigsawIndexes,
37 ::JigsawStructureRegistry
const& pools
40MCNAPI
void expansionHackEval(
int expandTo, ::BoundingBox& box);
42MCNAPI ::std::vector<uint64> getJigsawBlockIds(::StructureTemplatePool
const& pool);
44MCNAPI ::std::vector<::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor const>>>
const&
45getProjectionProcessors(::Projection projection);
48 ::JigsawStructureUtils::MetadataCache&,
52 ::std::vector<::SharedTypes::v1_21_80::JigsawBlockMetadata>
const&,
53 ::std::vector<uint64>
const&,
54 ::JigsawStructureRegistry
const&
57MCNAPI
void noopEval(
int, ::BoundingBox&);
59MCNAPI
bool placeInWorld(
60 ::IStructureTemplate
const& tmpl,
61 ::BlockSource& region,
63 ::BlockPos structureOrigin,
64 ::br::worldgen::StructurePlaceSettings
const& settings,
69MCNAPI
bool probabilityReducer(int64 seed, int64 salt, ::ChunkPos chunkPos,
float probability);
73MCNAPI
bool probabilityReducer(int64 seed, int64 salt, ::ChunkPos chunkPos,
float probability);
76MCNAPI ::std::optional<::BlockPos> randomNamedJigsawLocation(
77 ::StructurePoolElement
const& source,
78 ::std::string_view name,
84MCNAPI ::std::vector<uint64>
85shuffledJigsawBlockIndexes(::SharedTypes::v1_21_80::JigsawStructureMetadata
const& metadata, ::IRandom& random);
Definition BlockSource.h:72
Definition BoundingBox.h:13
Definition IStructureTemplate.h:15
Definition JigsawStructureRegistry.h:22
Definition StructurePoolElement.h:39
Definition StructureTemplatePool.h:16
Definition StructurePlaceSettings.h:18
Definition StructureProcessor.h:23