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 _handleDataMarker(
36 ::std::string const& markerId,
37 ::BlockPos const& position,
38 ::BlockSource& region,
39 ::Random& random,
40 ::BoundingBox const& chunkBB
41 ) = 0;
42
43 virtual ~TemplateStructurePiece() /*override*/;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI void _setBoundingBoxFromTemplate();
50 // NOLINTEND
51
52public:
53 // destructor thunk
54 // NOLINTBEGIN
55 MCAPI void $dtor();
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCAPI bool $postProcess(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
62
63 MCAPI void $moveBoundingBox(int dx, int dy, int dz);
64
65
66 // NOLINTEND
67
68public:
69 // vftables
70 // NOLINTBEGIN
71 MCNAPI static void** $vftable();
72 // NOLINTEND
73};
Definition BlockPos.h:19
Definition BlockSource.h:71
Definition BoundingBox.h:13
Definition LegacyStructureTemplate.h:25
Definition Random.h:10
Definition StructurePiece.h:18
Definition TemplateStructurePiece.h:18
static MCAPI void ** $vftable()