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