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