LeviLamina
Loading...
Searching...
No Matches
CoralFan.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/string/HashedString.h"
7
#include "mc/deps/core/utility/optional_ref.h"
8
#include "mc/world/level/block/FoliageBlock.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
AABB
;
13
class
Actor
;
14
class
Block
;
15
class
BlockPos
;
16
class
BlockSource
;
17
class
GetCollisionShapeInterface
;
18
class
IConstBlockSource
;
19
namespace
BlockEvents {
class
BlockPlaceEvent
; }
20
// clang-format on
21
22
class
CoralFan :
public
::FoliageBlock {
23
public
:
24
// member variables
25
// NOLINTBEGIN
26
::ll::TypedStorage<8, 48, ::HashedString const> mDeadVersion;
27
// NOLINTEND
28
29
public
:
30
// prevent constructor by default
31
CoralFan();
32
33
public
:
34
// virtual functions
35
// NOLINTBEGIN
36
virtual
bool
isValidAuxValue(
int
auxValue)
const
/*override*/
;
37
38
virtual ::AABB getCollisionShape(
39
::Block
const
&,
40
::IConstBlockSource
const
&,
41
::BlockPos
const
&,
42
::optional_ref<::GetCollisionShapeInterface const>
43
)
const
/*override*/
;
44
45
virtual
bool
mayConsumeFertilizer(
::BlockSource
&)
const
/*override*/
;
46
47
virtual
bool
isLavaBlocking()
const
/*override*/
;
48
49
virtual
void
neighborChanged(
::BlockSource
& region,
::BlockPos
const
& pos,
::BlockPos
const
& neighborPos)
const
50
/*override*/
;
51
52
virtual
bool
checkIsPathable(
::Actor
& entity,
::BlockPos
const
& lastPathPos,
::BlockPos
const
& pathPos)
const
53
/*override*/
;
54
55
virtual
bool
mayPlaceOn(
::BlockSource
& region,
::BlockPos
const
& pos)
const
/*override*/
;
56
57
virtual
void
checkAlive(
::BlockSource
& region,
::BlockPos
const
& pos)
const
/*override*/
;
58
// NOLINTEND
59
60
public
:
61
// member functions
62
// NOLINTBEGIN
63
MCAPI CoralFan(::std::string
const
& nameId,
int
id
,
::HashedString
const
& deadVersion);
64
65
MCFOLD ::HashedString
const
& getDeadVersion()
const
;
66
67
MCAPI
void
onPlaceBase(
::BlockEvents::BlockPlaceEvent
& eventData)
const
;
68
// NOLINTEND
69
70
public
:
71
// constructor thunks
72
// NOLINTBEGIN
73
MCAPI
void
* $ctor(::std::string
const
& nameId,
int
id
,
::HashedString
const
& deadVersion);
74
// NOLINTEND
75
76
public
:
77
// virtual function thunks
78
// NOLINTBEGIN
79
MCFOLD
bool
$isValidAuxValue(
int
auxValue)
const
;
80
81
MCFOLD ::AABB $getCollisionShape(
82
::Block
const
&,
83
::IConstBlockSource
const
&,
84
::BlockPos
const
&,
85
::optional_ref<::GetCollisionShapeInterface const>
86
)
const
;
87
88
MCFOLD
bool
$mayConsumeFertilizer(
::BlockSource
&)
const
;
89
90
MCFOLD
bool
$isLavaBlocking()
const
;
91
92
MCAPI
void
$neighborChanged(
::BlockSource
& region,
::BlockPos
const
& pos,
::BlockPos
const
& neighborPos)
const
;
93
94
MCFOLD
bool
$checkIsPathable(
::Actor
& entity,
::BlockPos
const
& lastPathPos,
::BlockPos
const
& pathPos)
const
;
95
96
MCFOLD
bool
$mayPlaceOn(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
97
98
MCAPI
void
$checkAlive(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
99
100
101
// NOLINTEND
102
103
public
:
104
// vftables
105
// NOLINTBEGIN
106
MCAPI
static
void
** $vftable();
107
// NOLINTEND
108
};
AABB
Definition
AABB.h:18
Actor
Definition
Actor.h:125
BlockEvents::BlockPlaceEvent
Definition
BlockPlaceEvent.h:18
BlockPos
Definition
BlockPos.h:21
BlockSource
Definition
BlockSource.h:73
Block
Definition
Block.h:69
GetCollisionShapeInterface
Definition
GetCollisionShapeInterface.h:13
HashedString
Definition
HashedString.h:5
IConstBlockSource
Definition
IConstBlockSource.h:24
optional_ref
Definition
optional_ref.h:10
src
mc
world
level
block
CoralFan.h
Generated on
for LeviLamina by
1.16.1