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 // vIndex: 0
30 virtual ~StructureStart();
31
32 // vIndex: 1
33 virtual bool postProcess(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
34
35 // vIndex: 2
36 virtual bool isValid() const;
37
38 // vIndex: 3
39 virtual int getMaxYSpawnOffset() const;
40
41 // vIndex: 4
42 virtual ::std::string_view getStructureName() const = 0;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI void calculateBoundingBox();
49 // NOLINTEND
50
51public:
52 // destructor thunk
53 // NOLINTBEGIN
54 MCAPI void $dtor();
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCAPI bool $postProcess(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
61
62 MCFOLD bool $isValid() const;
63
64 MCFOLD int $getMaxYSpawnOffset() const;
65 // NOLINTEND
66
67public:
68 // vftables
69 // NOLINTBEGIN
70 MCNAPI static void** $vftable();
71 // NOLINTEND
72};
Definition BlockSource.h:67
Definition BoundingBox.h:13
Definition Random.h:11
Definition StructurePiece.h:18
Definition StructureStart.h:15
static MCAPI void ** $vftable()