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;
13class IRandom;
14namespace br::worldgen { class PoolElementStructureSection; }
15namespace br::worldgen { struct Structure; }
16// clang-format on
17
18namespace br::worldgen {
19
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<4, 12, ::BlockPos> mPos;
25 ::ll::TypedStorage<8, 8, ::ChunkPos> mChunkPos;
26 ::ll::TypedStorage<4, 24, ::BoundingBox> mBox;
27 ::ll::TypedStorage<8, 8, ::br::worldgen::Structure const*> mStructure;
28 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::br::worldgen::PoolElementStructureSection>>> mSections;
29 ::ll::TypedStorage<1, 1, ::std::atomic<bool>> mIsPersisted;
30 // NOLINTEND
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI void placeEntities(::BlockSource& region, ::BoundingBox const& chunkBB) const;
36
37 MCAPI bool postProcess(::BlockSource& region, ::IRandom& random, ::BoundingBox const& chunkBB) const;
38 // NOLINTEND
39};
40
41} // namespace br::worldgen
Definition BlockSource.h:71
Definition BoundingBox.h:13
Definition IRandom.h:10
Definition PoolElementStructureSection.h:21
Definition StructureInstance.h:20
Definition Structure.h:23