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/StructurePiece.h"
7
8// auto generated forward declare list
9// clang-format off
10class Block;
11class BlockSource;
12class BoundingBox;
13class Random;
14struct MineshaftData;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 MineshaftPiece& operator=(MineshaftPiece const&);
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 // vIndex: 6
34 virtual bool isInInvalidLocation(::BlockSource& region, ::BoundingBox const& chunkBB) /*override*/;
35
36 // vIndex: 10
37 virtual bool canBeReplaced(
38 ::BlockSource& region,
39 int const x,
40 int const y,
41 int const z,
42 ::BoundingBox const& chunkBB
43 ) /*override*/;
44
45 // vIndex: 0
46 virtual ~MineshaftPiece() /*override*/;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCNAPI ::std::unique_ptr<::StructurePiece> createRandomShaftPiece(
53 ::MineshaftData& metadata,
54 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
55 ::Random& random,
56 int footX,
57 int footY,
58 int footZ,
59 int direction,
60 int genDepth
61 );
62
63 MCNAPI ::StructurePiece* generateAndAddPiece(
64 ::StructurePiece& startPiece,
65 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
66 ::Random& random,
67 int footX,
68 int footY,
69 int footZ,
70 int direction,
71 int depth
72 );
73
74 MCNAPI void setPlanksBlock(::BlockSource& region, ::Block const& planksBlock, int x, int y, int z);
75 // NOLINTEND
76
77public:
78 // destructor thunk
79 // NOLINTBEGIN
80 MCNAPI void $dtor();
81 // NOLINTEND
82
83public:
84 // virtual function thunks
85 // NOLINTBEGIN
86 MCNAPI bool $isInInvalidLocation(::BlockSource& region, ::BoundingBox const& chunkBB);
87
88 MCNAPI bool
89 $canBeReplaced(::BlockSource& region, int const x, int const y, int const z, ::BoundingBox const& chunkBB);
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCNAPI static void** $vftable();
96 // NOLINTEND
97};
Definition BlockSource.h:67
Definition Block.h:38
Definition BoundingBox.h:13
Definition MineshaftPiece.h:17
MCAPI void setPlanksBlock(::BlockSource &region, ::Block const &planksBlock, int x, int y, int z)
MCAPI void $dtor()
static MCAPI void ** $vftable()
MCAPI ::std::unique_ptr<::StructurePiece > createRandomShaftPiece(::MineshaftData &metadata, ::std::vector<::std::unique_ptr<::StructurePiece > > &pieces, ::Random &random, int footX, int footY, int footZ, int direction, int genDepth)
MCAPI::StructurePiece * generateAndAddPiece(::StructurePiece &startPiece, ::std::vector<::std::unique_ptr<::StructurePiece > > &pieces, ::Random &random, int footX, int footY, int footZ, int direction, int depth)
MCAPI bool $canBeReplaced(::BlockSource &region, int const x, int const y, int const z, ::BoundingBox const &chunkBB)
MCAPI bool $isInInvalidLocation(::BlockSource &region, ::BoundingBox const &chunkBB)
Definition Random.h:11
Definition StructurePiece.h:18
Definition MineshaftData.h:5
Definition Alias.h:14