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 MCNAPI 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 // virtual function thunks
67 // NOLINTBEGIN
69 ::BlockPos const& pos,
70 ::Dimension& dim,
71 ::BlockVolume& box,
72 ::std::unordered_map<::ChunkPos, ::std::unique_ptr<::std::vector<short>>>& chunkHeightCache
73 ) const;
74
75 MCNAPI ::Block const*
76 $getSupportBlock(::BlockSource& region, ::BlockPos const& pos, ::Block const& aboveBlock) const;
77
78 MCNAPI ::Block const& $getBeardStabilizeBlock(::Block const& foundationBlock) const;
79
80 MCNAPI ::AdjustmentEffect $getTerrainAdjustmentEffect() const;
81
83 // NOLINTEND
84
85public:
86 // vftables
87 // NOLINTBEGIN
88 MCNAPI static void** $vftable();
89 // NOLINTEND
90};
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition BlockVolume.h:13
Definition Block.h:38
Definition ChunkPos.h:11
Definition Dimension.h:83
Definition JigsawStructureRegistry.h:23
Definition PoolElementStructurePiece.h:25
Definition Random.h:11
Definition StructurePiece.h:18
Definition VillagePiece.h:23
MCAPI bool $_needsPostProcessing(::BlockSource &region)
static MCAPI void addPieces(::BlockPos position, ::std::vector<::std::unique_ptr<::StructurePiece > > &pieces, ::Random &random, ::JigsawStructureRegistry &pools, ::VanillaBiomeTypes biomeType, ::Dimension &dimension)
MCAPI::Block const * $getSupportBlock(::BlockSource &region, ::BlockPos const &pos, ::Block const &aboveBlock) const
MCAPI::Block const & $getBeardStabilizeBlock(::Block const &foundationBlock) const
static MCAPI void ** $vftable()
MCAPI::AdjustmentEffect $getTerrainAdjustmentEffect() const
MCAPI int $generateHeightAtPosition(::BlockPos const &pos, ::Dimension &dim, ::BlockVolume &box, ::std::unordered_map<::ChunkPos, ::std::unique_ptr<::std::vector< short > > > &chunkHeightCache) const