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
rad,
44
float
yRad,
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
x,
63
int
z,
64
::WorldGenContext
const
&
context
,
65
::BiomeRegistry
const
& biomeRegistry
66
);
67
68
MCAPI
void
_addTunnel(
69
::BlockVolume
& blocks,
70
::BiomeSource
const
& localBiomeSource,
71
::CanyonFeatureUtils::CanyonConfiguration
const
& canyonConfig,
72
::Random
& random,
73
::ChunkPos
const
& pos,
74
::Vec3
const
& startPos,
75
::Vec3
const
& originalStartPos,
76
float
thickness,
77
float
yRot,
78
float
xRot,
79
int
step,
80
int
dist,
81
float
yScale,
82
::WorldGenContext
const
&
context
,
83
::BiomeRegistry
const
& biomeRegistry
84
)
const
;
85
86
MCAPI
void
apply(
87
::BlockVolume
& blocks,
88
::ChunkPos
const
& pos,
89
::BiomeSource
const
& localBiomeSource,
90
::CanyonFeatureUtils::CanyonConfiguration
const
& canyonConfig,
91
::Random
& random,
92
uint levelSeed,
93
::WorldGenContext
const
&
context
,
94
::BiomeRegistry
const
& biomeRegistry
95
);
96
// NOLINTEND
97
98
public
:
99
// virtual function thunks
100
// NOLINTBEGIN
101
MCAPI
bool
$_carve(
102
::BlockVolume
& blocks,
103
::BiomeSource
const
& localBiomeSource,
104
::CanyonFeatureUtils::CanyonConfiguration
const
& canyonConfig,
105
::Random
&,
106
::ChunkPos
const
& pos,
107
::Vec3
const
& startPos,
108
::Vec3
const
& originalStartPos,
109
int
x0,
110
int
x1,
111
int
y0,
112
int
y1,
113
int
z0,
114
int
z1,
115
float
rad,
116
float
yRad,
117
::gsl::span<float const> widthRandomization,
118
::WorldGenContext
const
&
context
,
119
::BiomeRegistry
const
& biomeRegistry
120
)
const
;
121
122
MCAPI
bool
$_isDiggable(
::BlockType
const
& block)
const
;
123
124
125
// NOLINTEND
126
127
public
:
128
// vftables
129
// NOLINTBEGIN
130
MCNAPI
static
void
**
$vftable
();
131
// NOLINTEND
132
};
BiomeRegistry
Definition
BiomeRegistry.h:38
BiomeSource
Definition
BiomeSource.h:23
BlockType
Definition
BlockType.h:84
BlockVolume
Definition
BlockVolume.h:13
CanyonFeature
Definition
CanyonFeature.h:18
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