LeviLamina
Loading...
Searching...
No Matches
BastionPiece.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/structure/PoolElementStructurePiece.h"
7#include "mc/world/level/levelgen/v1/AdjustmentEffect.h"
8
9// auto generated forward declare list
10// clang-format off
11class Block;
12class BlockPos;
13class BlockSource;
14class BlockVolume;
15class ChunkPos;
16class Dimension;
18class Random;
19class StructurePiece;
20// clang-format on
21
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 // vIndex: 13
27 virtual int generateHeightAtPosition(
28 ::BlockPos const& pos,
29 ::Dimension& dim,
30 ::BlockVolume& box,
31 ::std::unordered_map<::ChunkPos, ::std::unique_ptr<::std::vector<short>>>& chunkHeightCache
32 ) const /*override*/;
33
34 // vIndex: 14
35 virtual ::Block const*
36 getSupportBlock(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const /*override*/;
37
38 // vIndex: 15
39 virtual ::Block const& getBeardStabilizeBlock(::Block const& foundationBlock) const /*override*/;
40
41 // vIndex: 16
42 virtual ::AdjustmentEffect getTerrainAdjustmentEffect() const /*override*/;
43
44 // vIndex: 0
45 virtual ~BastionPiece() /*override*/ = default;
46 // NOLINTEND
47
48public:
49 // static functions
50 // NOLINTBEGIN
51 MCAPI static void addPieces(
52 ::BlockPos position,
53 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
54 ::Random& random,
56 ::Dimension& dimension
57 );
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCAPI int $generateHeightAtPosition(
64 ::BlockPos const& pos,
65 ::Dimension& dim,
66 ::BlockVolume& box,
67 ::std::unordered_map<::ChunkPos, ::std::unique_ptr<::std::vector<short>>>& chunkHeightCache
68 ) const;
69
70 MCFOLD ::Block const*
71 $getSupportBlock(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const;
72
73 MCAPI ::Block const& $getBeardStabilizeBlock(::Block const& foundationBlock) const;
74
75 MCFOLD ::AdjustmentEffect $getTerrainAdjustmentEffect() const;
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftable();
82 // NOLINTEND
83};
Definition BastionPiece.h:22
static MCAPI void ** $vftable()
Definition BlockPos.h:17
Definition BlockSource.h:66
Definition BlockVolume.h:13
Definition Block.h:37
Definition ChunkPos.h:11
Definition Dimension.h:83
Definition JigsawStructureRegistry.h:23
Definition PoolElementStructurePiece.h:25
Definition Random.h:10
Definition StructurePiece.h:18