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
// vIndex: 4
22
virtual
bool
place(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
/*override*/
;
23
24
// vIndex: 0
25
virtual
~CoralCrustFeature
()
/*override*/
=
default
;
26
// NOLINTEND
27
28
public
:
29
// member functions
30
// NOLINTBEGIN
31
MCAPI
bool
_canOverwrite(
::BlockSource
const
& region,
::BlockPos
const
& pos)
const
;
32
33
MCAPI ::BlockPos _getCropOffsetFromRot(
int
rot,
int
type)
const
;
34
35
MCAPI ::BlockPos _getOffsetFromRot(
int
rot,
int
type)
const
;
36
37
MCAPI
void
_placeCoral(
38
::BlockSource
& region,
39
::BlockPos
const
& pos,
40
::Random
& random,
41
::std::vector<::BlockPos>& topDec,
42
::std::vector<::std::pair<::BlockPos, uchar>>& sideDec,
43
int
color
44
)
const
;
45
46
MCAPI
void
_placeCoralBase(
47
::BlockSource
& region,
48
::BlockPos
const
& pos,
49
::Random
& random,
50
::LegacyStructureTemplate
& structure,
51
::LegacyStructureSettings
& settings
52
)
const
;
53
54
MCFOLD
void
_placeSideDecorations(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random, uchar dir)
const
;
55
56
MCFOLD
void
_placeTopDecorations(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
;
57
// NOLINTEND
58
59
public
:
60
// destructor thunk
61
// NOLINTBEGIN
62
63
// NOLINTEND
64
65
public
:
66
// virtual function thunks
67
// NOLINTBEGIN
68
MCAPI
bool
$place(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
;
69
// NOLINTEND
70
71
public
:
72
// vftables
73
// NOLINTBEGIN
74
MCAPI
static
void
** $vftable();
75
// NOLINTEND
76
};
BlockPos
Definition
BlockPos.h:18
BlockSource
Definition
BlockSource.h:67
CoralCrustFeature
Definition
CoralCrustFeature.h:17
Feature
Definition
Feature.h:18
LegacyStructureSettings
Definition
LegacyStructureSettings.h:22
LegacyStructureTemplate
Definition
LegacyStructureTemplate.h:24
Random
Definition
Random.h:16
src
mc
world
level
levelgen
feature
CoralCrustFeature.h
Generated on Sat Apr 26 2025 05:56:24 for LeviLamina by
1.12.0