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 ::StructurePiece* generateAndAddPiece(
41 ::StructurePiece& startPiece,
42 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
43 ::Random& random,
44 int footX,
45 int footY,
46 int footZ,
47 int direction,
48 int depth
49 );
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55 MCAPI bool $isInInvalidLocation(::BlockSource& region, ::BoundingBox const& chunkBB);
56
57 MCAPI bool
58 $canBeReplaced(::BlockSource& region, int const x, int const y, int const z, ::BoundingBox const& chunkBB);
59
60
61 // NOLINTEND
62};
Definition BlockSource.h:71
Definition BoundingBox.h:13
Definition MineshaftPiece.h:16
Definition Random.h:10
Definition StructurePiece.h:18