LeviLamina
Loading...
Searching...
No Matches
Test.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/levelgen/v2/processors/BlockStateMatch.h"
7
#include "mc/world/level/levelgen/v2/processors/RandomBlockStateMatch.h"
8
#include "mc/world/level/levelgen/v2/processors/block_rules/AlwaysTrue.h"
9
#include "mc/world/level/levelgen/v2/processors/block_rules/BlockMatch.h"
10
#include "mc/world/level/levelgen/v2/processors/block_rules/RandomBlockMatch.h"
11
#include "mc/world/level/levelgen/v2/processors/block_rules/TagMatch.h"
12
#include "mc/world/level/levelgen/v2/processors/block_rules/TestType.h"
13
14
// auto generated forward declare list
15
// clang-format off
16
class
Block
;
17
class
IRandom
;
18
namespace
Util {
class
XXHash; }
19
// clang-format on
20
21
namespace
br::worldgen::processors::BlockRules {
22
23
struct
Test
:
public
::br::worldgen::processors::BlockRules::TestType
{
24
public
:
25
// Test inner types define
26
using
Type = ::std::variant<
27
::br::worldgen::processors::BlockRules::AlwaysTrue
,
28
::br::worldgen::processors::BlockRules::BlockMatch
,
29
::br::worldgen::processors::BlockRules::RandomBlockMatch
,
30
::br::worldgen::processors::BlockRules::TagMatch
,
31
::br::worldgen::processors::BlockRules::BlockStateMatch
,
32
::br::worldgen::processors::BlockRules::RandomBlockStateMatch
>;
33
34
public
:
35
// member variables
36
// NOLINTBEGIN
37
::ll::TypedStorage<
38
8,
39
64,
40
::std::variant<
41
::br::worldgen::processors::BlockRules::AlwaysTrue
,
42
::br::worldgen::processors::BlockRules::BlockMatch
,
43
::br::worldgen::processors::BlockRules::RandomBlockMatch
,
44
::br::worldgen::processors::BlockRules::TagMatch
,
45
::br::worldgen::processors::BlockRules::BlockStateMatch
,
46
::br::worldgen::processors::BlockRules::RandomBlockStateMatch
>>
47
mData;
48
// NOLINTEND
49
50
public
:
51
// prevent constructor by default
52
Test
& operator=(
Test
const
&);
53
Test
();
54
55
public
:
56
// virtual functions
57
// NOLINTBEGIN
58
// vIndex: 1
59
virtual
bool
test(
::Block
const
& block,
::IRandom
& random)
const
/*override*/
;
60
61
// vIndex: 2
62
virtual
void
appendMetadataKey(
::Util::XXHash
& hash)
const
/*override*/
;
63
64
// vIndex: 0
65
virtual
~Test
()
/*override*/
;
66
// NOLINTEND
67
68
public
:
69
// member functions
70
// NOLINTBEGIN
71
MCAPI
Test
(
::br::worldgen::processors::BlockRules::Test
&&);
72
73
MCAPI
Test
(
::br::worldgen::processors::BlockRules::Test
const
&);
74
// NOLINTEND
75
76
public
:
77
// constructor thunks
78
// NOLINTBEGIN
79
MCAPI
void
* $ctor(
::br::worldgen::processors::BlockRules::Test
&&);
80
81
MCAPI
void
* $ctor(
::br::worldgen::processors::BlockRules::Test
const
&);
82
// NOLINTEND
83
84
public
:
85
// destructor thunk
86
// NOLINTBEGIN
87
MCAPI
void
$dtor();
88
// NOLINTEND
89
90
public
:
91
// virtual function thunks
92
// NOLINTBEGIN
93
MCAPI
bool
$test(
::Block
const
& block,
::IRandom
& random)
const
;
94
95
MCAPI
void
$appendMetadataKey(
::Util::XXHash
& hash)
const
;
96
// NOLINTEND
97
98
public
:
99
// vftables
100
// NOLINTBEGIN
101
MCNAPI
static
void
**
$vftable
();
102
// NOLINTEND
103
};
104
105
}
// namespace br::worldgen::processors::BlockRules
Block
Definition
Block.h:38
IRandom
Definition
IRandom.h:13
Util::XXHash
Definition
XXHash.h:7
br::worldgen::processors::BlockRules::AlwaysTrue
Definition
AlwaysTrue.h:17
br::worldgen::processors::BlockRules::BlockMatch
Definition
BlockMatch.h:18
br::worldgen::processors::BlockRules::BlockStateMatch
Definition
BlockStateMatch.h:17
br::worldgen::processors::BlockRules::RandomBlockMatch
Definition
RandomBlockMatch.h:18
br::worldgen::processors::BlockRules::RandomBlockStateMatch
Definition
RandomBlockStateMatch.h:17
br::worldgen::processors::BlockRules::TagMatch
Definition
TagMatch.h:19
br::worldgen::processors::BlockRules::TestType
Definition
TestType.h:14
br::worldgen::processors::BlockRules::Test
Definition
Test.h:23
br::worldgen::processors::BlockRules::Test::$vftable
static MCAPI void ** $vftable()
src-server
mc
world
level
levelgen
v2
processors
block_rules
Test.h
Generated on Tue Nov 25 2025 04:01:54 for LeviLamina by
1.12.0