LeviLamina
Loading...
Searching...
No Matches
CanyonFeature.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
BiomeRegistry
;
8
class
BiomeSource
;
9
class
BlockType
;
10
class
BlockVolume
;
11
class
ChunkPos
;
12
class
Random
;
13
class
Vec3
;
14
struct
WorldGenContext
;
15
namespace
CanyonFeatureUtils {
struct
CanyonConfiguration
; }
16
// clang-format on
17
18
class
CanyonFeature
{
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::TypedStorage<2, 2, short const> mSeaLevel;
23
::ll::TypedStorage<1, 1, bool> mAllowMegaCanyons;
24
// NOLINTEND
25
26
public
:
27
// virtual functions
28
// NOLINTBEGIN
29
virtual
bool
_carve(
30
::BlockVolume
& blocks,
31
::BiomeSource
const
& localBiomeSource,
32
::CanyonFeatureUtils::CanyonConfiguration
const
& canyonConfig,
33
::Random
&,
34
::ChunkPos
const
& pos,
35
::Vec3
const
& startPos,
36
::Vec3
const
& originalStartPos,
37
int
x0,
38
int
x1,
39
int
y0,
40
int
y1,
41
int
z0,
42
int
z1,
43
float
horizontalRadius,
44
float
verticalRadius,
45
::gsl::span<float const> widthRandomization,
46
::WorldGenContext
const
&
context
,
47
::BiomeRegistry
const
& biomeRegistry
48
)
const
;
49
50
virtual
bool
_isDiggable(
::BlockType
const
& block)
const
;
51
// NOLINTEND
52
53
public
:
54
// member functions
55
// NOLINTBEGIN
56
MCAPI
void
_addFeature(
57
::BlockVolume
& blocks,
58
::BiomeSource
const
& localBiomeSource,
59
::CanyonFeatureUtils::CanyonConfiguration
const
& canyonConfig,
60
::ChunkPos
const
& pos,
61
::Random
& random,
62
int
chunkX,
63
int
chunkZ,
64
::WorldGenContext
const
&
context
,
65
::BiomeRegistry
const
& biomeRegistry
66
);
67
68
MCAPI
void
apply(
69
::BlockVolume
& blocks,
70
::ChunkPos
const
& pos,
71
::BiomeSource
const
& localBiomeSource,
72
::CanyonFeatureUtils::CanyonConfiguration
const
& canyonConfig,
73
::Random
& random,
74
uint levelSeed,
75
::WorldGenContext
const
&
context
,
76
::BiomeRegistry
const
& biomeRegistry
77
);
78
// NOLINTEND
79
80
public
:
81
// virtual function thunks
82
// NOLINTBEGIN
83
MCAPI
bool
$_carve(
84
::BlockVolume
& blocks,
85
::BiomeSource
const
& localBiomeSource,
86
::CanyonFeatureUtils::CanyonConfiguration
const
& canyonConfig,
87
::Random
&,
88
::ChunkPos
const
& pos,
89
::Vec3
const
& startPos,
90
::Vec3
const
& originalStartPos,
91
int
x0,
92
int
x1,
93
int
y0,
94
int
y1,
95
int
z0,
96
int
z1,
97
float
horizontalRadius,
98
float
verticalRadius,
99
::gsl::span<float const> widthRandomization,
100
::WorldGenContext
const
&
context
,
101
::BiomeRegistry
const
& biomeRegistry
102
)
const
;
103
104
MCAPI
bool
$_isDiggable(
::BlockType
const
& block)
const
;
105
106
107
// NOLINTEND
108
109
public
:
110
// vftables
111
// NOLINTBEGIN
112
MCNAPI
static
void
**
$vftable
();
113
// NOLINTEND
114
};
BiomeRegistry
Definition
BiomeRegistry.h:37
BiomeSource
Definition
BiomeSource.h:23
BlockType
Definition
BlockType.h:79
BlockVolume
Definition
BlockVolume.h:14
CanyonFeature
Definition
CanyonFeature.h:18
CanyonFeature::$vftable
static MCAPI void ** $vftable()
ChunkPos
Definition
ChunkPos.h:13
Random
Definition
Random.h:10
Vec3
Definition
Vec3.h:10
CanyonFeatureUtils::CanyonConfiguration
Definition
CanyonConfiguration.h:7
WorldGenContext
Definition
WorldGenContext.h:13
context
Definition
context.h:5
src
mc
world
level
levelgen
feature
CanyonFeature.h
Generated on
for LeviLamina by
1.16.1