LeviLamina
Loading...
Searching...
No Matches
MineshaftCorridor.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
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 MineshaftCorridor& operator=(MineshaftCorridor const&);
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 2
37 virtual ::StructurePieceType getType() const /*override*/;
38
39 // vIndex: 3
40 virtual void addChildren(
41 ::StructurePiece& startPiece,
42 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
43 ::Random& random
44 ) /*override*/;
45
46 // vIndex: 4
47 virtual bool postProcess(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB) /*override*/;
48
49 // vIndex: 5
50 virtual void postProcessMobsAt(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB) /*override*/;
51
52 // vIndex: 0
53 virtual ~MineshaftCorridor() /*override*/ = default;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCNAPI void _fillPillarDownOrChainUp(::BlockSource& region, int x, int y, int z, ::BoundingBox const& chunkBB);
60
61 MCNAPI void
62 _placeCobWeb(::BlockSource& region, ::BoundingBox const& chunkBB, ::Random& random, float p, int x0, int y1, int z);
63
64 MCNAPI void
65 _placeDoubleLowerOrUpperSupport(::BlockSource& region, ::BoundingBox const& chunkBB, int x, int y, int z);
66
67 MCNAPI void _placeSupport(
68 ::BlockSource& region,
69 ::BoundingBox const& chunkBB,
70 int x0,
71 int y0,
72 int z,
73 int y1,
74 int x1,
75 ::Random& random
76 );
77 // NOLINTEND
78
79public:
80 // static functions
81 // NOLINTBEGIN
82 MCNAPI static ::BoundingBox findCorridorSize(
83 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
84 ::Random& random,
85 int footX,
86 int footY,
87 int footZ,
88 int direction
89 );
90 // NOLINTEND
91
92public:
93 // virtual function thunks
94 // NOLINTBEGIN
95 MCNAPI ::StructurePieceType $getType() const;
96
97 MCNAPI void $addChildren(
98 ::StructurePiece& startPiece,
99 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
100 ::Random& random
101 );
102
103 MCNAPI bool $postProcess(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
104
105 MCNAPI void $postProcessMobsAt(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
106 // NOLINTEND
107
108public:
109 // vftables
110 // NOLINTBEGIN
111 MCNAPI static void** $vftable();
112 // NOLINTEND
113};
Definition BlockSource.h:67
Definition BoundingBox.h:13
Definition MineshaftCorridor.h:17
static MCAPI void ** $vftable()
static MCAPI ::BoundingBox findCorridorSize(::std::vector<::std::unique_ptr<::StructurePiece > > &pieces, ::Random &random, int footX, int footY, int footZ, int direction)
MCAPI::StructurePieceType $getType() const
MCAPI void $postProcessMobsAt(::BlockSource &region, ::Random &random, ::BoundingBox const &chunkBB)
MCAPI void _placeCobWeb(::BlockSource &region, ::BoundingBox const &chunkBB, ::Random &random, float p, int x0, int y1, int z)
MCAPI void $addChildren(::StructurePiece &startPiece, ::std::vector<::std::unique_ptr<::StructurePiece > > &pieces, ::Random &random)
MCAPI void _fillPillarDownOrChainUp(::BlockSource &region, int x, int y, int z, ::BoundingBox const &chunkBB)
MCAPI bool $postProcess(::BlockSource &region, ::Random &random, ::BoundingBox const &chunkBB)
MCAPI void _placeSupport(::BlockSource &region, ::BoundingBox const &chunkBB, int x0, int y0, int z, int y1, int x1, ::Random &random)
MCAPI void _placeDoubleLowerOrUpperSupport(::BlockSource &region, ::BoundingBox const &chunkBB, int x, int y, int z)
Definition MineshaftPiece.h:17
Definition Random.h:11
Definition StructurePiece.h:18
Definition Alias.h:14