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 HashedString;
14namespace br::worldgen { class StructureSection; }
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::StructureSection>>> mSections;
29 // NOLINTEND
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCNAPI void placeEntities(::BlockSource& region, ::BoundingBox const& chunkBB) const;
35
36 MCNAPI ::HashedString type() const;
37 // NOLINTEND
38};
39
40} // namespace br::worldgen
Definition BlockSource.h:67
Definition BoundingBox.h:13
Definition HashedString.h:5
Definition StructureInstance.h:20
MCAPI::HashedString type() const
MCAPI void placeEntities(::BlockSource &region, ::BoundingBox const &chunkBB) const