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 MCNAPI static ::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor const>> const&
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCNAPI ::std::optional<::br::worldgen::StructureBlockInfo> $process(
63 ::IBlockSource& region,
66 ::br::worldgen::StructureBlockInfo const& originalBlockInfo,
67 ::br::worldgen::StructureBlockInfo&& processedBlockInfo,
69 ) const;
70
71 MCNAPI ::br::worldgen::StructureProcessorType $type() const;
72
73 MCNAPI void $appendMetadataKey(::Util::XXHash& hash) const;
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCNAPI static void** $vftable();
80 // NOLINTEND
81};
82
83} // namespace br::worldgen::processors
Definition BlockPos.h:18
Definition IBlockSource.h:35
Definition XXHash.h:7
Definition Gravity.h:21
MCAPI ::std::optional<::br::worldgen::StructureBlockInfo > $process(::IBlockSource &region, ::BlockPos, ::BlockPos, ::br::worldgen::StructureBlockInfo const &originalBlockInfo, ::br::worldgen::StructureBlockInfo &&processedBlockInfo, ::br::worldgen::StructurePlaceSettings const &) const
MCAPI void $appendMetadataKey(::Util::XXHash &hash) const
static MCAPI void ** $vftable()
MCAPI::br::worldgen::StructureProcessorType $type() const
static MCAPI ::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor const > > const & TERRAIN_MATCHING()
Definition StructureBlockInfo.h:16
Definition StructurePlaceSettings.h:18
Definition StructureProcessor.h:22