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 _placeSupport(
65 ::BlockSource& region,
66 ::BoundingBox const& chunkBB,
67 int x0,
68 int y0,
69 int z,
70 int y1,
71 int x1,
72 ::Random& random
73 );
74 // NOLINTEND
75
76public:
77 // static functions
78 // NOLINTBEGIN
79 MCNAPI static ::BoundingBox findCorridorSize(
80 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
81 ::Random& random,
82 int footX,
83 int footY,
84 int footZ,
85 int direction
86 );
87 // NOLINTEND
88
89public:
90 // virtual function thunks
91 // NOLINTBEGIN
92 MCNAPI ::StructurePieceType $getType() const;
93
94 MCNAPI void $addChildren(
95 ::StructurePiece& startPiece,
96 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
97 ::Random& random
98 );
99
100 MCNAPI bool $postProcess(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
101
102 MCNAPI void $postProcessMobsAt(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
103 // NOLINTEND
104
105public:
106 // vftables
107 // NOLINTBEGIN
108 MCNAPI static void** $vftable();
109 // NOLINTEND
110};
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)
Definition MineshaftPiece.h:17
Definition Random.h:10
Definition StructurePiece.h:18
Definition Alias.h:14