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