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
BiomeSource
;
8
class
BlockType
;
9
class
BlockVolume
;
10
class
ChunkPos
;
11
class
Random
;
12
class
Vec3
;
13
struct
WorldGenContext
;
14
namespace
CanyonFeatureUtils {
struct
CanyonConfiguration
; }
15
// clang-format on
16
17
class
CanyonFeature
{
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::TypedStorage<2, 2, short const> mSeaLevel;
22
::ll::TypedStorage<1, 1, bool> mAllowMegaCanyons;
23
// NOLINTEND
24
25
public
:
26
// virtual functions
27
// NOLINTBEGIN
28
virtual
bool
_carve(
29
::BlockVolume
& blocks,
30
::BiomeSource
const
& localBiomeSource,
31
::CanyonFeatureUtils::CanyonConfiguration
const
& canyonConfig,
32
::Random
&,
33
::ChunkPos
const
& pos,
34
::Vec3
const
& startPos,
35
::Vec3
const
& originalStartPos,
36
int
x0,
37
int
x1,
38
int
y0,
39
int
y1,
40
int
z0,
41
int
z1,
42
float
rad,
43
float
yRad,
44
::gsl::span<float const> widthRandomization,
45
::WorldGenContext
const
&
context
46
)
const
;
47
48
virtual
bool
_isDiggable(
::BlockType
const
& block)
const
;
49
// NOLINTEND
50
51
public
:
52
// member functions
53
// NOLINTBEGIN
54
MCAPI
void
_addFeature(
55
::BlockVolume
& blocks,
56
::BiomeSource
const
& localBiomeSource,
57
::CanyonFeatureUtils::CanyonConfiguration
const
& canyonConfig,
58
::ChunkPos
const
& pos,
59
::Random
& random,
60
int
x,
61
int
z,
62
::WorldGenContext
const
&
context
63
);
64
65
MCAPI
void
_addTunnel(
66
::BlockVolume
& blocks,
67
::BiomeSource
const
& localBiomeSource,
68
::CanyonFeatureUtils::CanyonConfiguration
const
& canyonConfig,
69
::Random
& random,
70
::ChunkPos
const
& pos,
71
::Vec3
const
& startPos,
72
::Vec3
const
& originalStartPos,
73
float
thickness,
74
float
yRot,
75
float
xRot,
76
int
step,
77
int
dist,
78
float
yScale,
79
::WorldGenContext
const
&
context
80
)
const
;
81
82
MCAPI
void
apply(
83
::BlockVolume
& blocks,
84
::ChunkPos
const
& pos,
85
::BiomeSource
const
& localBiomeSource,
86
::CanyonFeatureUtils::CanyonConfiguration
const
& canyonConfig,
87
::Random
& random,
88
uint levelSeed,
89
::WorldGenContext
const
&
context
90
);
91
// NOLINTEND
92
93
public
:
94
// virtual function thunks
95
// NOLINTBEGIN
96
MCAPI
bool
$_carve(
97
::BlockVolume
& blocks,
98
::BiomeSource
const
& localBiomeSource,
99
::CanyonFeatureUtils::CanyonConfiguration
const
& canyonConfig,
100
::Random
&,
101
::ChunkPos
const
& pos,
102
::Vec3
const
& startPos,
103
::Vec3
const
& originalStartPos,
104
int
x0,
105
int
x1,
106
int
y0,
107
int
y1,
108
int
z0,
109
int
z1,
110
float
rad,
111
float
yRad,
112
::gsl::span<float const> widthRandomization,
113
::WorldGenContext
const
&
context
114
)
const
;
115
116
MCAPI
bool
$_isDiggable(
::BlockType
const
& block)
const
;
117
118
119
// NOLINTEND
120
121
public
:
122
// vftables
123
// NOLINTBEGIN
124
MCNAPI
static
void
**
$vftable
();
125
// NOLINTEND
126
};
BiomeSource
Definition
BiomeSource.h:20
BlockType
Definition
BlockType.h:84
BlockVolume
Definition
BlockVolume.h:13
CanyonFeature
Definition
CanyonFeature.h:17
CanyonFeature::$vftable
static MCAPI void ** $vftable()
ChunkPos
Definition
ChunkPos.h:11
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