3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/util/WeightedRandomList.h"
7#include "mc/world/actor/spawn_category/Type.h"
25MCAPI ::std::optional<::WeightedRandomList<::br::worldgen::SpawnerData>>
26dynamicStructureMobs(::br::LevelChunkDataRegistry
const& reg, ::BlockPos pos, ::SpawnCategory::Type category);
28MCAPI ::std::optional<::WeightedRandomList<::br::worldgen::SpawnerData>>
29findMobsPiece(::br::LevelChunkDataRegistry
const& reg, ::br::StructureKey key, ::SpawnCategory::Type category);
31MCAPI ::std::optional<::WeightedRandomList<::br::worldgen::SpawnerData>>
32findMobsStructure(::br::LevelChunkDataRegistry
const& reg, ::br::StructureKey key, ::SpawnCategory::Type category);
34MCAPI ::br::StructureKey findStructureKey(::br::LevelChunkDataRegistry
const& reg, ::std::string_view name);
36MCAPI ::std::vector<::std::string> getStructureTypes(::br::LevelChunkDataRegistry
const& reg, ::Vec3 pos);
38MCAPI
void insertStructure(
39 ::br::LevelChunkDataRegistry& reg,
40 ::BoundingBox chunkBB,
41 ::br::StructureKey key,
42 ::br::worldgen::StructureInstance
const& instance
45MCAPI
void insertStructure(
46 ::br::LevelChunkDataRegistry& reg,
47 ::BoundingBox chunkBB,
48 ::br::StructureKey key,
49 ::StructureStart
const& instance
52MCAPI
bool serialize(::IDataOutput& stream, ::br::LevelChunkDataRegistry
const& val);
54MCAPI ::br::StructureKey spawnStructureKey(::br::LevelChunkDataRegistry& reg, ::std::string_view name);
56MCAPI ::std::optional<::WeightedRandomList<::br::worldgen::SpawnerData>>
57staticStructureMobs(::br::LevelChunkDataRegistry
const& reg, ::BlockPos pos, ::SpawnCategory::Type category);
Definition BoundingBox.h:13
Definition IDataOutput.h:5
Definition StructureStart.h:15
Definition LevelChunkDataRegistry.h:23
Definition StructureInstance.h:20
Definition StructureKey.h:10
Definition SpawnerData.h:18