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 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI void _fillPillarDownOrChainUp(
47 ::BlockSource& region,
48 int const x,
49 int const y,
50 int const z,
51 ::BoundingBox const& chunkBB
52 );
53
54 MCAPI void _placeCobWeb(
55 ::BlockSource& region,
56 ::BoundingBox const& chunkBB,
57 ::Random& random,
58 float p,
59 int const x0,
60 int const y1,
61 int z
62 );
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCAPI ::StructurePieceType $getType() const;
69
70 MCAPI void $addChildren(
71 ::StructurePiece& startPiece,
72 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
73 ::Random& random
74 );
75
76 MCAPI bool $postProcess(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
77
78 MCAPI void $postProcessMobsAt(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
79
80
81 // NOLINTEND
82};
Definition BlockSource.h:71
Definition BoundingBox.h:13
Definition MineshaftCorridor.h:17
Definition MineshaftPiece.h:16
Definition Random.h:10
Definition StructurePiece.h:18