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 // vIndex: 6
28 virtual bool isInInvalidLocation(::BlockSource& region, ::BoundingBox const& chunkBB) /*override*/;
29
30 // vIndex: 10
31 virtual bool canBeReplaced(
32 ::BlockSource& region,
33 int const x,
34 int const y,
35 int const z,
36 ::BoundingBox const& chunkBB
37 ) /*override*/;
38
39 // vIndex: 0
40 virtual ~MineshaftPiece() /*override*/;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI ::std::unique_ptr<::StructurePiece> createRandomShaftPiece(
47 ::MineshaftData& metadata,
48 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
49 ::Random& random,
50 int footX,
51 int footY,
52 int footZ,
53 int direction,
54 int genDepth
55 );
56
57 MCAPI ::StructurePiece* generateAndAddPiece(
58 ::StructurePiece& startPiece,
59 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
60 ::Random& random,
61 int footX,
62 int footY,
63 int footZ,
64 int direction,
65 int depth
66 );
67
68 MCAPI void setPlanksBlock(::BlockSource& region, ::Block const& planksBlock, int x, int y, int z);
69 // NOLINTEND
70
71public:
72 // destructor thunk
73 // NOLINTBEGIN
74 MCFOLD void $dtor();
75 // NOLINTEND
76
77public:
78 // virtual function thunks
79 // NOLINTBEGIN
80 MCAPI bool $isInInvalidLocation(::BlockSource& region, ::BoundingBox const& chunkBB);
81
82 MCAPI bool
83 $canBeReplaced(::BlockSource& region, int const x, int const y, int const z, ::BoundingBox const& chunkBB);
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCNAPI static void** $vftable();
90 // NOLINTEND
91};
Definition BlockSource.h:66
Definition Block.h:38
Definition BoundingBox.h:13
Definition MineshaftPiece.h:17
static MCAPI void ** $vftable()
Definition Random.h:10
Definition StructurePiece.h:18
Definition MineshaftData.h:10