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