LeviLamina
Loading...
Searching...
No Matches
TemplateStructurePiece.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/levelgen/structure/LegacyStructureSettings.h"
8#include "mc/world/level/levelgen/structure/StructurePiece.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockSource;
13class BoundingBox;
15class Random;
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 8, ::LegacyStructureTemplate*> mTemplate;
23 ::ll::TypedStorage<8, 192, ::LegacyStructureSettings> mSettings;
24 ::ll::TypedStorage<4, 12, ::BlockPos> mTemplatePosition;
25 ::ll::TypedStorage<1, 1, bool> mPostProcessed;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual bool postProcess(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB) /*override*/;
32
33 virtual void moveBoundingBox(int dx, int dy, int dz) /*override*/;
34
35 virtual void
36 _handleDataMarker(::std::string const&, ::BlockPos const&, ::BlockSource&, ::Random&, ::BoundingBox const&) = 0;
37
38 virtual ~TemplateStructurePiece() /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI void _setBoundingBoxFromTemplate();
45 // NOLINTEND
46
47public:
48 // destructor thunk
49 // NOLINTBEGIN
50 MCAPI void $dtor();
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCAPI bool $postProcess(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
57
58 MCAPI void $moveBoundingBox(int dx, int dy, int dz);
59
60
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCNAPI static void** $vftable();
67 // NOLINTEND
68};
Definition BlockPos.h:19
Definition BlockSource.h:68
Definition BoundingBox.h:13
Definition LegacyStructureTemplate.h:25
Definition Random.h:10
Definition StructurePiece.h:18
Definition TemplateStructurePiece.h:18
static MCAPI void ** $vftable()