LeviLamina
Loading...
Searching...
No Matches
DripstoneClusterFeature.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/levelgen/feature/IFeature.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
BlockPos
;
11
class
IBlockWorldGenAPI
;
12
class
Random
;
13
// clang-format on
14
15
class
DripstoneClusterFeature
:
public
::IFeature
{
16
public
:
17
// virtual functions
18
// NOLINTBEGIN
19
// vIndex: 1
20
virtual ::std::optional<::BlockPos> place(
::IFeature::PlacementContext
const
&
context
)
const
/*override*/
;
21
22
// vIndex: 0
23
virtual
~DripstoneClusterFeature
()
/*override*/
=
default
;
24
// NOLINTEND
25
26
public
:
27
// static functions
28
// NOLINTBEGIN
29
MCNAPI
static
int
_getDripstoneHeight
(
::Random
& random,
int
dx,
int
dz,
float
density,
int
maxHeight);
30
31
MCNAPI
static
bool
_placeColumn
(
32
::IBlockWorldGenAPI
& target,
33
::Random
& random,
34
::BlockPos
const
& pos,
35
int
dx,
36
int
dz,
37
float
chanceOfWater,
38
double
chanceOfStalagmiteOrStalactite,
39
int
clusterHeight,
40
float
density
41
);
42
// NOLINTEND
43
44
public
:
45
// virtual function thunks
46
// NOLINTBEGIN
47
MCNAPI ::std::optional<::BlockPos>
$place
(
::IFeature::PlacementContext
const
&
context
)
const
;
48
// NOLINTEND
49
50
public
:
51
// vftables
52
// NOLINTBEGIN
53
MCNAPI
static
void
**
$vftable
();
54
// NOLINTEND
55
};
BlockPos
Definition
BlockPos.h:18
DripstoneClusterFeature
Definition
DripstoneClusterFeature.h:15
DripstoneClusterFeature::_placeColumn
static MCAPI bool _placeColumn(::IBlockWorldGenAPI &target, ::Random &random, ::BlockPos const &pos, int dx, int dz, float chanceOfWater, double chanceOfStalagmiteOrStalactite, int clusterHeight, float density)
DripstoneClusterFeature::$vftable
static MCAPI void ** $vftable()
DripstoneClusterFeature::$place
MCAPI ::std::optional<::BlockPos > $place(::IFeature::PlacementContext const &context) const
DripstoneClusterFeature::_getDripstoneHeight
static MCAPI int _getDripstoneHeight(::Random &random, int dx, int dz, float density, int maxHeight)
IBlockWorldGenAPI
Definition
IBlockWorldGenAPI.h:25
IFeature
Definition
IFeature.h:13
Random
Definition
Random.h:11
IFeature::PlacementContext
Definition
IFeature.h:21
context
Definition
context.h:5
src
mc
world
level
levelgen
feature
DripstoneClusterFeature.h
Generated on Fri Jun 13 2025 05:05:18 for LeviLamina by
1.12.0