LeviLamina
Loading...
Searching...
No Matches
RuleSet.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/v2/processors/block_entity/Modifier.h"
7#include "mc/world/level/levelgen/v2/processors/block_rules/Test.h"
8#include "mc/world/level/levelgen/v2/processors/pos_rules/Test.h"
9
10// auto generated forward declare list
11// clang-format off
12class Block;
13namespace Util { class XXHash; }
14// clang-format on
15
16namespace br::worldgen::processors {
17
18struct RuleSet {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 72, ::br::worldgen::processors::BlockRules::Test> mInputPredicate;
23 ::ll::TypedStorage<8, 72, ::br::worldgen::processors::BlockRules::Test> mLocPredicate;
24 ::ll::TypedStorage<4, 48, ::br::worldgen::processors::PosRules::Test> mPosPredicate;
25 ::ll::TypedStorage<8, 8, ::Block const*> mOutputState;
26 ::ll::TypedStorage<8, 56, ::br::worldgen::processors::BlockEntity::Modifier> mBlockEntityModifier;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 RuleSet& operator=(RuleSet const&);
32 RuleSet();
33
34public:
35 // member functions
36 // NOLINTBEGIN
38
40
41 MCNAPI void appendMetadataKey(::Util::XXHash& hash) const;
42
43 MCNAPI ::br::worldgen::processors::RuleSet& operator=(::br::worldgen::processors::RuleSet&&);
44
45 MCNAPI ::br::worldgen::processors::RuleSet withLoc(::br::worldgen::processors::BlockRules::Test loc);
46
47 MCNAPI ::br::worldgen::processors::RuleSet withModifier(::br::worldgen::processors::BlockEntity::Modifier modifier);
48
49 MCNAPI ::br::worldgen::processors::RuleSet withPos(::br::worldgen::processors::PosRules::Test pos);
50
51 MCNAPI ~RuleSet();
52 // NOLINTEND
53
54public:
55 // static functions
56 // NOLINTBEGIN
57 MCNAPI static ::br::worldgen::processors::RuleSet
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
65
67 // NOLINTEND
68
69public:
70 // destructor thunk
71 // NOLINTBEGIN
72 MCNAPI void $dtor();
73 // NOLINTEND
74};
75
76} // namespace br::worldgen::processors
Definition Block.h:38
Definition XXHash.h:7
Definition RuleSet.h:18
MCAPI void appendMetadataKey(::Util::XXHash &hash) const
MCAPI RuleSet(::br::worldgen::processors::RuleSet &&)
MCAPI::br::worldgen::processors::RuleSet withPos(::br::worldgen::processors::PosRules::Test pos)
MCAPI::br::worldgen::processors::RuleSet & operator=(::br::worldgen::processors::RuleSet &&)
MCAPI void * $ctor(::br::worldgen::processors::RuleSet &&)
MCAPI void * $ctor(::br::worldgen::processors::RuleSet const &)
static MCAPI ::br::worldgen::processors::RuleSet from(::br::worldgen::processors::BlockRules::Test input, ::Block const &output)
MCAPI RuleSet(::br::worldgen::processors::RuleSet const &)
MCAPI::br::worldgen::processors::RuleSet withLoc(::br::worldgen::processors::BlockRules::Test loc)
MCAPI::br::worldgen::processors::RuleSet withModifier(::br::worldgen::processors::BlockEntity::Modifier modifier)