LeviLamina
Loading...
Searching...
No Matches
StructureInstance.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class BlockPos;
8class BlockSource;
9class BoundingBox;
10class ChunkPos;
11class HashedString;
12namespace br::worldgen { class StructureSection; }
13namespace br::worldgen { struct Structure; }
14// clang-format on
15
16namespace br::worldgen {
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 12, ::BlockPos> mPos;
23 ::ll::TypedStorage<8, 8, ::ChunkPos> mChunkPos;
24 ::ll::TypedStorage<4, 24, ::BoundingBox> mBox;
25 ::ll::TypedStorage<8, 8, ::br::worldgen::Structure const*> mStructure;
26 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::br::worldgen::StructureSection>>> mSections;
27 // NOLINTEND
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI void placeEntities(::BlockSource& region, ::BoundingBox const& chunkBB) const;
33
34 MCAPI ::HashedString type() const;
35 // NOLINTEND
36};
37
38} // namespace br::worldgen
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition BoundingBox.h:18
Definition ChunkPos.h:11
Definition HashedString.h:5
Definition StructureInstance.h:18