LeviLamina
Loading...
Searching...
No Matches
MineshaftPiece.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/structure/MineshaftData.h"
7#include "mc/world/level/levelgen/structure/StructurePiece.h"
8
9// auto generated forward declare list
10// clang-format off
11class Block;
12class BlockSource;
13class BoundingBox;
14class Random;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 32, ::MineshaftData> mMetadata;
22 // NOLINTEND
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual bool isInInvalidLocation(::BlockSource& region, ::BoundingBox const& chunkBB) /*override*/;
28
29 virtual bool canBeReplaced(
30 ::BlockSource& region,
31 int const x,
32 int const y,
33 int const z,
34 ::BoundingBox const& chunkBB
35 ) /*override*/;
36
37 virtual ~MineshaftPiece() /*override*/;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI ::std::unique_ptr<::StructurePiece> createRandomShaftPiece(
44 ::MineshaftData& metadata,
45 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
46 ::Random& random,
47 int footX,
48 int footY,
49 int footZ,
50 int direction,
51 int genDepth
52 );
53
54 MCAPI ::StructurePiece* generateAndAddPiece(
55 ::StructurePiece& startPiece,
56 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
57 ::Random& random,
58 int footX,
59 int footY,
60 int footZ,
61 int direction,
62 int depth
63 );
64
65 MCAPI void setPlanksBlock(::BlockSource& region, ::Block const& planksBlock, int x, int y, int z);
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71 MCFOLD void $dtor();
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77 MCAPI bool $isInInvalidLocation(::BlockSource& region, ::BoundingBox const& chunkBB);
78
79 MCAPI bool
80 $canBeReplaced(::BlockSource& region, int const x, int const y, int const z, ::BoundingBox const& chunkBB);
81
82
83 // NOLINTEND
84
85public:
86 // vftables
87 // NOLINTBEGIN
88 MCNAPI static void** $vftable();
89 // NOLINTEND
90};
Definition BlockSource.h:68
Definition Block.h:43
Definition BoundingBox.h:13
Definition MineshaftPiece.h:17
static MCAPI void ** $vftable()
Definition Random.h:10
Definition StructurePiece.h:18
Definition MineshaftData.h:10