LeviLamina
Loading...
Searching...
No Matches
Gravity.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/v2/heightmap_projection/Type.h"
7#include "mc/world/level/levelgen/v2/processors/StructureProcessor.h"
8#include "mc/world/level/levelgen/v2/processors/StructureProcessorType.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockPos;
13class IBlockSource;
14namespace Util { class XXHash; }
15namespace br::worldgen { struct StructureBlockInfo; }
16namespace br::worldgen { struct StructurePlaceSettings; }
17// clang-format on
18
19namespace br::worldgen::processors {
20
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<1, 1, ::br::worldgen::HeightmapProjection::Type> mHeightmap;
26 ::ll::TypedStorage<4, 4, int> mOffset;
27 // NOLINTEND
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 1
33 virtual ::std::optional<::br::worldgen::StructureBlockInfo> process(
34 ::IBlockSource& region,
37 ::br::worldgen::StructureBlockInfo const& originalBlockInfo,
38 ::br::worldgen::StructureBlockInfo&& processedBlockInfo,
40 ) const /*override*/;
41
42 // vIndex: 3
43 virtual ::br::worldgen::StructureProcessorType type() const /*override*/;
44
45 // vIndex: 4
46 virtual void appendMetadataKey(::Util::XXHash& hash) const /*override*/;
47
48 // vIndex: 0
49 virtual ~Gravity() /*override*/ = default;
50 // NOLINTEND
51
52public:
53 // static variables
54 // NOLINTBEGIN
55 MCAPI static ::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor const>> const& TERRAIN_MATCHING();
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCAPI ::std::optional<::br::worldgen::StructureBlockInfo> $process(
62 ::IBlockSource& region,
65 ::br::worldgen::StructureBlockInfo const& originalBlockInfo,
66 ::br::worldgen::StructureBlockInfo&& processedBlockInfo,
68 ) const;
69
70 MCFOLD ::br::worldgen::StructureProcessorType $type() const;
71
72 MCAPI void $appendMetadataKey(::Util::XXHash& hash) const;
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCNAPI static void** $vftable();
79 // NOLINTEND
80};
81
82} // namespace br::worldgen::processors
Definition BlockPos.h:17
Definition IBlockSource.h:35
Definition XXHash.h:7
Definition Gravity.h:21
static MCAPI void ** $vftable()
Definition StructureBlockInfo.h:16
Definition StructurePlaceSettings.h:18
Definition StructureProcessor.h:23