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 virtual ::std::optional<::br::worldgen::StructureBlockInfo> process(
33 ::IBlockSource& region,
36 ::br::worldgen::StructureBlockInfo const& originalBlockInfo,
37 ::br::worldgen::StructureBlockInfo&& processedBlockInfo,
39 ) const /*override*/;
40
41 virtual ::br::worldgen::StructureProcessorType type() const /*override*/;
42
43 virtual void appendMetadataKey(::Util::XXHash& hash) const /*override*/;
44
45 virtual ~Gravity() /*override*/ = default;
46 // NOLINTEND
47
48public:
49 // static variables
50 // NOLINTBEGIN
51 MCAPI static ::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor const>> const& TERRAIN_MATCHING();
52 // NOLINTEND
53
54public:
55 // virtual function thunks
56 // NOLINTBEGIN
57 MCAPI ::std::optional<::br::worldgen::StructureBlockInfo> $process(
58 ::IBlockSource& region,
61 ::br::worldgen::StructureBlockInfo const& originalBlockInfo,
62 ::br::worldgen::StructureBlockInfo&& processedBlockInfo,
64 ) const;
65
66 MCFOLD ::br::worldgen::StructureProcessorType $type() const;
67
68 MCAPI void $appendMetadataKey(::Util::XXHash& hash) const;
69
70
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
79
80} // namespace br::worldgen::processors
Definition BlockPos.h:19
Definition IBlockSource.h:37
Definition XXHash.h:7
Definition Gravity.h:21
static MCAPI void ** $vftable()
Definition StructureBlockInfo.h:16
Definition StructurePlaceSettings.h:18
Definition StructureProcessor.h:23