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 bool requiresNeighborAwareBlockUpgrade() const;
38
39 virtual ::std::string_view getStructureName() const = 0;
40 // NOLINTEND
41
42public:
43 // destructor thunk
44 // NOLINTBEGIN
45 MCAPI void $dtor();
46 // NOLINTEND
47
48public:
49 // virtual function thunks
50 // NOLINTBEGIN
51 MCAPI bool $postProcess(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
52
53 MCFOLD bool $isValid() const;
54
55 MCFOLD int $getMaxYSpawnOffset() const;
56
57 MCFOLD bool $requiresNeighborAwareBlockUpgrade() const;
58
59
60 // NOLINTEND
61
62public:
63 // vftables
64 // NOLINTBEGIN
65 MCNAPI static void** $vftable();
66 // NOLINTEND
67};
Definition BlockSource.h:71
Definition BoundingBox.h:13
Definition Random.h:10
Definition StructurePiece.h:18
Definition StructureStart.h:15
static MCAPI void ** $vftable()