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