LeviLamina
Loading...
Searching...
No Matches
MineshaftPiece.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/structure/MineshaftData.h"
7#include "mc/world/level/levelgen/structure/StructurePiece.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockSource;
12class BoundingBox;
13class Random;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 32, ::MineshaftData> mMetadata;
21 // NOLINTEND
22
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual bool isInInvalidLocation(::BlockSource& region, ::BoundingBox const& chunkBB) /*override*/;
27
28 virtual bool canBeReplaced(
29 ::BlockSource& region,
30 int const x,
31 int const y,
32 int const z,
33 ::BoundingBox const& chunkBB
34 ) /*override*/;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI bool _isSupportingBox(int x0, int x1, ::BlockSource& region, int y1, int z);
41
42 MCAPI ::std::unique_ptr<::StructurePiece> createRandomShaftPiece(
43 ::MineshaftData& metadata,
44 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
45 ::Random& random,
46 int footX,
47 int footY,
48 int footZ,
49 int direction,
50 int genDepth
51 );
52
53 MCAPI ::StructurePiece* generateAndAddPiece(
54 ::StructurePiece& startPiece,
55 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
56 ::Random& random,
57 int footX,
58 int footY,
59 int footZ,
60 int direction,
61 int depth
62 );
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCAPI bool $isInInvalidLocation(::BlockSource& region, ::BoundingBox const& chunkBB);
69
70 MCAPI bool
71 $canBeReplaced(::BlockSource& region, int const x, int const y, int const z, ::BoundingBox const& chunkBB);
72
73
74 // NOLINTEND
75};
Definition BlockSource.h:73
Definition BoundingBox.h:13
Definition MineshaftPiece.h:16
Definition Random.h:10
Definition StructurePiece.h:21
Definition MineshaftData.h:10