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