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
DelegatingRandom.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/math/IRandom.h"
7
8
namespace
NoiseUtils {
9
10
class
DelegatingRandom :
public
::IRandom
{
11
public
:
12
// member variables
13
// NOLINTBEGIN
14
::ll::TypedStorage<8, 8, ::IRandom&> mRandom;
15
// NOLINTEND
16
17
public
:
18
// prevent constructor by default
19
DelegatingRandom& operator=(DelegatingRandom
const
&);
20
DelegatingRandom(DelegatingRandom
const
&);
21
DelegatingRandom();
22
23
public
:
24
// virtual functions
25
// NOLINTBEGIN
26
virtual
int
nextInt()
/*override*/
;
27
28
virtual
int
nextInt(
int
const
bound)
/*override*/
;
29
30
virtual
int64 nextLong()
/*override*/
;
31
32
virtual
bool
nextBoolean()
/*override*/
;
33
34
virtual
float
nextFloat()
/*override*/
;
35
36
virtual
double
nextDouble()
/*override*/
;
37
38
virtual
double
nextGaussianDouble()
/*override*/
;
39
40
virtual
void
consumeCount(uint count)
/*override*/
;
41
// NOLINTEND
42
43
public
:
44
// virtual function thunks
45
// NOLINTBEGIN
46
MCNAPI
int
$nextInt
();
47
48
MCNAPI
int
$nextInt
(
int
const
bound);
49
50
MCNAPI int64
$nextLong
();
51
52
MCNAPI
bool
$nextBoolean
();
53
54
MCNAPI
double
$nextDouble
();
55
56
MCNAPI
double
$nextGaussianDouble
();
57
58
MCNAPI
void
$consumeCount
(uint count);
59
60
61
// NOLINTEND
62
};
63
64
}
// namespace NoiseUtils
IRandom
Definition
IRandom.h:10
NoiseUtils::DelegatingRandom::$nextGaussianDouble
MCAPI double $nextGaussianDouble()
NoiseUtils::DelegatingRandom::$nextDouble
MCAPI double $nextDouble()
NoiseUtils::DelegatingRandom::$nextLong
MCAPI int64 $nextLong()
NoiseUtils::DelegatingRandom::$nextInt
MCAPI int $nextInt(int const bound)
NoiseUtils::DelegatingRandom::$nextBoolean
MCAPI bool $nextBoolean()
NoiseUtils::DelegatingRandom::$consumeCount
MCAPI void $consumeCount(uint count)
NoiseUtils::DelegatingRandom::$nextInt
MCAPI int $nextInt()
src
mc
world
level
levelgen
synth
noise_utils
DelegatingRandom.h
Generated on
for LeviLamina by
1.16.1