Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
Loading...
Searching...
No Matches
RandomBlockStateMatch.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_rules/TestType.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Block
;
11
class
IRandom
;
12
namespace
Util {
class
XXHash
; }
13
// clang-format on
14
15
namespace
br::worldgen::processors::BlockRules {
16
17
struct
RandomBlockStateMatch
:
public
::br::worldgen::processors::BlockRules::TestType
{
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::TypedStorage<8, 8, ::Block const*> mBlockState;
22
::ll::TypedStorage<4, 4, float> mProbability;
23
// NOLINTEND
24
25
public
:
26
// virtual functions
27
// NOLINTBEGIN
28
virtual
bool
test(
::Block
const
& block,
::IRandom
& random)
const
/*override*/
;
29
30
virtual
void
appendMetadataKey(
::Util::XXHash
& hash)
const
/*override*/
;
31
// NOLINTEND
32
33
public
:
34
// virtual function thunks
35
// NOLINTBEGIN
36
MCNAPI
bool
$test
(
::Block
const
& block,
::IRandom
& random)
const
;
37
38
MCNAPI
void
$appendMetadataKey
(
::Util::XXHash
& hash)
const
;
39
40
41
// NOLINTEND
42
43
public
:
44
// vftables
45
// NOLINTBEGIN
46
MCNAPI
static
void
**
$vftable
();
47
// NOLINTEND
48
};
49
50
}
// namespace br::worldgen::processors::BlockRules
Block
Definition
Block.h:42
IRandom
Definition
IRandom.h:10
Util::XXHash
Definition
XXHash.h:7
br::worldgen::processors::BlockRules::RandomBlockStateMatch
Definition
RandomBlockStateMatch.h:17
br::worldgen::processors::BlockRules::RandomBlockStateMatch::$test
MCAPI bool $test(::Block const &block, ::IRandom &random) const
br::worldgen::processors::BlockRules::RandomBlockStateMatch::$vftable
static MCAPI void ** $vftable()
br::worldgen::processors::BlockRules::RandomBlockStateMatch::$appendMetadataKey
MCAPI void $appendMetadataKey(::Util::XXHash &hash) const
br::worldgen::processors::BlockRules::TestType
Definition
TestType.h:14
src
mc
world
level
levelgen
v2
processors
RandomBlockStateMatch.h
Generated on
for LeviLamina by
1.16.1