LeviLamina
Loading...
Searching...
No Matches
MineshaftCrossing.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/structure/MineshaftPiece.h"
7#include "mc/world/level/levelgen/structure/StructurePieceType.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockSource;
12class BoundingBox;
13class Random;
14class StructurePiece;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 MineshaftCrossing& operator=(MineshaftCrossing const&);
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 2
35 virtual ::StructurePieceType getType() const /*override*/;
36
37 // vIndex: 3
38 virtual void addChildren(
39 ::StructurePiece& startPiece,
40 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
41 ::Random& random
42 ) /*override*/;
43
44 // vIndex: 4
45 virtual bool postProcess(::BlockSource& region, ::Random&, ::BoundingBox const& chunkBB) /*override*/;
46
47 // vIndex: 0
48 virtual ~MineshaftCrossing() /*override*/ = default;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCNAPI void _placeSupportPillar(::BlockSource& region, ::BoundingBox const& chunkBB, int x, int y0, int z, int y1);
55 // NOLINTEND
56
57public:
58 // static functions
59 // NOLINTBEGIN
60 MCNAPI static ::BoundingBox findCrossing(
61 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
62 ::Random& random,
63 int footX,
64 int footY,
65 int footZ,
66 int direction
67 );
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCNAPI ::StructurePieceType $getType() const;
74
75 MCNAPI void $addChildren(
76 ::StructurePiece& startPiece,
77 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
78 ::Random& random
79 );
80
81 MCNAPI bool $postProcess(::BlockSource& region, ::Random&, ::BoundingBox const& chunkBB);
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCNAPI static void** $vftable();
88 // NOLINTEND
89};
Definition BlockSource.h:67
Definition BoundingBox.h:13
Definition MineshaftCrossing.h:17
static MCAPI void ** $vftable()
MCAPI bool $postProcess(::BlockSource &region, ::Random &, ::BoundingBox const &chunkBB)
MCAPI void $addChildren(::StructurePiece &startPiece, ::std::vector<::std::unique_ptr<::StructurePiece > > &pieces, ::Random &random)
MCAPI::StructurePieceType $getType() const
static MCAPI ::BoundingBox findCrossing(::std::vector<::std::unique_ptr<::StructurePiece > > &pieces, ::Random &random, int footX, int footY, int footZ, int direction)
MCAPI void _placeSupportPillar(::BlockSource &region, ::BoundingBox const &chunkBB, int x, int y0, int z, int y1)
Definition MineshaftPiece.h:17
Definition Random.h:11
Definition StructurePiece.h:18
Definition Alias.h:14