LeviLamina
Loading...
Searching...
No Matches
CoralCrustFeature.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/levelgen/feature/Feature.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
BlockPos
;
11
class
BlockSource
;
12
class
LegacyStructureSettings
;
13
class
LegacyStructureTemplate
;
14
class
Random
;
15
// clang-format on
16
17
class
CoralCrustFeature
:
public
::Feature
{
18
public
:
19
// virtual functions
20
// NOLINTBEGIN
21
virtual
bool
place(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
/*override*/
;
22
23
virtual
~CoralCrustFeature
()
/*override*/
=
default
;
24
// NOLINTEND
25
26
public
:
27
// member functions
28
// NOLINTBEGIN
29
MCAPI ::BlockPos _getCropOffsetFromRot(
int
rot,
int
type)
const
;
30
31
MCAPI ::BlockPos _getOffsetFromRot(
int
rot,
int
type)
const
;
32
33
MCAPI
void
_placeCoral(
34
::BlockSource
& region,
35
::BlockPos
const
& pos,
36
::Random
& random,
37
::std::vector<::BlockPos>& topDec,
38
::std::vector<::std::pair<::BlockPos, uchar>>& sideDec,
39
int
color
40
)
const
;
41
42
MCAPI
void
_placeCoralBase(
43
::BlockSource
& region,
44
::BlockPos
const
& pos,
45
::Random
& random,
46
::LegacyStructureTemplate
& structure,
47
::LegacyStructureSettings
& settings
48
)
const
;
49
50
MCFOLD
void
_placeSideDecorations(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random, uchar dir)
const
;
51
52
MCFOLD
void
_placeTopDecorations(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
;
53
// NOLINTEND
54
55
public
:
56
// virtual function thunks
57
// NOLINTBEGIN
58
MCAPI
bool
$place(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
;
59
60
61
// NOLINTEND
62
63
public
:
64
// vftables
65
// NOLINTBEGIN
66
MCNAPI
static
void
**
$vftable
();
67
// NOLINTEND
68
};
BlockPos
Definition
BlockPos.h:19
BlockSource
Definition
BlockSource.h:68
CoralCrustFeature
Definition
CoralCrustFeature.h:17
CoralCrustFeature::$vftable
static MCAPI void ** $vftable()
Feature
Definition
Feature.h:18
LegacyStructureSettings
Definition
LegacyStructureSettings.h:22
LegacyStructureTemplate
Definition
LegacyStructureTemplate.h:25
Random
Definition
Random.h:10
src
mc
world
level
levelgen
feature
CoralCrustFeature.h
Generated on
for LeviLamina by
1.16.1