LeviLamina
Loading...
Searching...
No Matches
VillagePiece.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: 17
46 virtual bool _needsPostProcessing(::BlockSource& region) /*override*/;
47
48 // vIndex: 0
49 virtual ~VillagePiece() /*override*/ = default;
50 // NOLINTEND
51
52public:
53 // static functions
54 // NOLINTBEGIN
55 MCAPI static void addPieces(
56 ::BlockPos position,
57 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
58 ::Random& random,
60 ::VanillaBiomeTypes biomeType,
61 ::Dimension& dimension
62 );
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74 MCAPI int $generateHeightAtPosition(
75 ::BlockPos const& pos,
76 ::Dimension& dim,
77 ::BlockVolume& box,
78 ::std::unordered_map<::ChunkPos, ::std::unique_ptr<::std::vector<short>>>& chunkHeightCache
79 ) const;
80
81 MCAPI ::Block const*
82 $getSupportBlock(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const;
83
84 MCAPI ::Block const& $getBeardStabilizeBlock(::Block const& foundationBlock) const;
85
86 MCFOLD ::AdjustmentEffect $getTerrainAdjustmentEffect() const;
87
88 MCAPI bool $_needsPostProcessing(::BlockSource& region);
89 // NOLINTEND
90
91public:
92 // vftables
93 // NOLINTBEGIN
94 MCAPI static void** $vftable();
95 // NOLINTEND
96};
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
Definition VillagePiece.h:23