LeviLamina
Loading...
Searching...
No Matches
BlockIgnore.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/v2/processors/StructureProcessor.h"
7#include "mc/world/level/levelgen/v2/processors/StructureProcessorType.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockLegacy;
12class BlockPos;
13class HashedString;
14class IBlockSource;
15namespace Util { class XXHash; }
16namespace br::worldgen { struct StructureBlockInfo; }
17namespace br::worldgen { struct StructurePlaceSettings; }
18// clang-format on
19
20namespace br::worldgen::processors {
21
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 24, ::std::vector<::BlockLegacy const*>> mToIgnore;
27 // NOLINTEND
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 1
33 virtual ::std::optional<::br::worldgen::StructureBlockInfo> process(
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 ~BlockIgnore() /*override*/;
50 // NOLINTEND
51
52public:
53 // static functions
54 // NOLINTBEGIN
55 MCNAPI static void bootstrap();
56
57 MCNAPI static ::br::worldgen::processors::BlockIgnore from(::std::vector<::HashedString> const& toIgnore);
58
59 MCNAPI static ::br::worldgen::processors::BlockIgnore from(::std::vector<::std::string> const& toIgnore);
60 // NOLINTEND
61
62public:
63 // static variables
64 // NOLINTBEGIN
65 MCNAPI static ::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor>> const& STRUCTURE_BLOCK();
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71 MCNAPI void $dtor();
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77 MCNAPI ::std::optional<::br::worldgen::StructureBlockInfo> $process(
82 ::br::worldgen::StructureBlockInfo&& processedBlockInfo,
84 ) const;
85
86 MCNAPI ::br::worldgen::StructureProcessorType $type() const;
87
88 MCNAPI void $appendMetadataKey(::Util::XXHash& hash) const;
89 // NOLINTEND
90
91public:
92 // vftables
93 // NOLINTBEGIN
94 MCNAPI static void** $vftable();
95 // NOLINTEND
96};
97
98} // namespace br::worldgen::processors
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition HashedString.h:5
Definition IBlockSource.h:35
Definition XXHash.h:7
Definition BlockIgnore.h:22
MCAPI void $appendMetadataKey(::Util::XXHash &hash) const
MCAPI::br::worldgen::StructureProcessorType $type() const
static MCAPI ::gsl::not_null<::std::shared_ptr<::br::worldgen::StructureProcessor > > const & STRUCTURE_BLOCK()
static MCAPI ::br::worldgen::processors::BlockIgnore from(::std::vector<::std::string > const &toIgnore)
static MCAPI ::br::worldgen::processors::BlockIgnore from(::std::vector<::HashedString > const &toIgnore)
MCAPI ::std::optional<::br::worldgen::StructureBlockInfo > $process(::IBlockSource &, ::BlockPos, ::BlockPos, ::br::worldgen::StructureBlockInfo const &, ::br::worldgen::StructureBlockInfo &&processedBlockInfo, ::br::worldgen::StructurePlaceSettings const &) const
Definition StructureBlockInfo.h:16
Definition StructurePlaceSettings.h:18
Definition StructureProcessor.h:22