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
IntProvider.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/levelgen/v2/providers/ConstantInt.h"
7
#include "mc/world/level/levelgen/v2/providers/IntProviderType.h"
8
#include "mc/world/level/levelgen/v2/providers/UniformInt.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
IRandom
;
13
// clang-format on
14
15
struct
IntProvider
:
public
::IntProviderType
{
16
public
:
17
// member variables
18
// NOLINTBEGIN
19
::ll::TypedStorage<8, 24, ::std::variant<::ConstantInt, ::UniformInt>> mProvider;
20
// NOLINTEND
21
22
public
:
23
// virtual functions
24
// NOLINTBEGIN
25
virtual
int
sample(
::IRandom
& random)
const
/*override*/
;
26
27
virtual
int
maxValue()
const
/*override*/
;
28
29
virtual
int
minValue()
const
/*override*/
;
30
// NOLINTEND
31
32
public
:
33
// virtual function thunks
34
// NOLINTBEGIN
35
MCNAPI
int
$sample
(
::IRandom
& random)
const
;
36
37
MCNAPI
int
$maxValue
()
const
;
38
39
MCNAPI
int
$minValue
()
const
;
40
41
42
// NOLINTEND
43
44
public
:
45
// vftables
46
// NOLINTBEGIN
47
MCNAPI
static
void
**
$vftable
();
48
// NOLINTEND
49
};
IRandom
Definition
IRandom.h:10
IntProviderType
Definition
IntProviderType.h:10
IntProvider
Definition
IntProvider.h:15
IntProvider::$maxValue
MCAPI int $maxValue() const
IntProvider::$vftable
static MCAPI void ** $vftable()
IntProvider::$minValue
MCAPI int $minValue() const
IntProvider::$sample
MCAPI int $sample(::IRandom &random) const
src
mc
world
level
levelgen
v2
providers
IntProvider.h
Generated on
for LeviLamina by
1.16.1