LeviLamina
Loading...
Searching...
No Matches
StructureStart.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/structure/BoundingBox.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockSource;
11class Random;
12class StructurePiece;
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 24, ::BoundingBox> boundingBox;
20 ::ll::TypedStorage<4, 4, int> chunkX;
21 ::ll::TypedStorage<4, 4, int> chunkZ;
22 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::StructurePiece>>> pieces;
23 ::ll::TypedStorage<4, 4, int> maxYSpawnOffset;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ~StructureStart();
30
31 virtual bool postProcess(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
32
33 virtual bool isValid() const;
34
35 virtual int getMaxYSpawnOffset() const;
36
37 virtual ::std::string_view getStructureName() const = 0;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI void calculateBoundingBox();
44 // NOLINTEND
45
46public:
47 // destructor thunk
48 // NOLINTBEGIN
49 MCAPI void $dtor();
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55 MCAPI bool $postProcess(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
56
57 MCFOLD bool $isValid() const;
58
59 MCFOLD int $getMaxYSpawnOffset() const;
60
61
62 // NOLINTEND
63
64public:
65 // vftables
66 // NOLINTBEGIN
67 MCNAPI static void** $vftable();
68 // NOLINTEND
69};
Definition BlockSource.h:68
Definition BoundingBox.h:13
Definition Random.h:10
Definition StructurePiece.h:18
Definition StructureStart.h:15
static MCAPI void ** $vftable()