LeviLamina
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
// member functions
35
// NOLINTBEGIN
36
MCAPI ::std::string toString()
const
;
37
// NOLINTEND
38
39
public
:
40
// static functions
41
// NOLINTBEGIN
42
MCAPI static ::br::worldgen::UniformHeight
43
of(
::br::worldgen::VerticalAnchor
min,
::br::worldgen::VerticalAnchor
max);
44
// NOLINTEND
45
46
public
:
47
// virtual function thunks
48
// NOLINTBEGIN
49
MCAPI
int
$sample(
::IRandom
& randomSource,
::br::worldgen::WorldGenContext
const
& heightAccessor)
const
;
50
51
52
// NOLINTEND
53
54
public
:
55
// vftables
56
// NOLINTBEGIN
57
MCNAPI
static
void
**
$vftable
();
58
// NOLINTEND
59
};
60
61
}
// 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::VerticalAnchor
Definition
VerticalAnchor.h:12
br::worldgen::WorldGenContext
Definition
WorldGenContext.h:12
br::worldgen::HeightProvider
Definition
HeightProvider.h:13
src
mc
world
level
levelgen
v2
UniformHeight.h
Generated on
for LeviLamina by
1.16.1