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
BlockLegacy
;
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
// vIndex: 0
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
)
const
;
48
49
// vIndex: 1
50
virtual
bool
_isDiggable(
::BlockLegacy
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
);
66
67
MCAPI
void
_addTunnel(
68
::BlockVolume
& blocks,
69
::BiomeSource
const
& localBiomeSource,
70
::CanyonFeatureUtils::CanyonConfiguration
const
& canyonConfig,
71
::Random
& random,
72
::ChunkPos
const
& pos,
73
::Vec3
const
& startPos,
74
::Vec3
const
& originalStartPos,
75
float
thickness,
76
float
yRot,
77
float
xRot,
78
int
yScale,
79
int
context
,
80
float
step,
81
::WorldGenContext
const
& dist
82
)
const
;
83
84
MCAPI
void
apply(
85
::BlockVolume
& blocks,
86
::ChunkPos
const
& pos,
87
::BiomeSource
const
& localBiomeSource,
88
::CanyonFeatureUtils::CanyonConfiguration
const
& canyonConfig,
89
::Random
& random,
90
uint levelSeed,
91
::WorldGenContext
const
&
context
92
);
93
// NOLINTEND
94
95
public
:
96
// virtual function thunks
97
// NOLINTBEGIN
98
MCAPI
bool
$_carve(
99
::BlockVolume
& blocks,
100
::BiomeSource
const
& localBiomeSource,
101
::CanyonFeatureUtils::CanyonConfiguration
const
& canyonConfig,
102
::Random
&,
103
::ChunkPos
const
& pos,
104
::Vec3
const
& startPos,
105
::Vec3
const
& originalStartPos,
106
int
x0,
107
int
x1,
108
int
y0,
109
int
y1,
110
int
z0,
111
int
z1,
112
float
rad,
113
float
yRad,
114
::gsl::span<float const> widthRandomization,
115
::WorldGenContext
const
&
context
116
)
const
;
117
118
MCAPI
bool
$_isDiggable(
::BlockLegacy
const
& block)
const
;
119
// NOLINTEND
120
121
public
:
122
// vftables
123
// NOLINTBEGIN
124
MCAPI
static
void
** $vftable();
125
// NOLINTEND
126
};
BiomeSource
Definition
BiomeSource.h:16
BlockLegacy
Definition
BlockLegacy.h:88
BlockVolume
Definition
BlockVolume.h:11
CanyonFeature
Definition
CanyonFeature.h:17
ChunkPos
Definition
ChunkPos.h:11
Random
Definition
Random.h:16
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 Sat Apr 26 2025 05:56:24 for LeviLamina by
1.12.0