LeviLamina
Loading...
Searching...
No Matches
CoralFanHang.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/world/level/block/CoralFan.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
AABB
;
12
class
Block
;
13
class
BlockActor
;
14
class
BlockPos
;
15
class
BlockSource
;
16
class
IConstBlockSource
;
17
class
ItemInstance
;
18
namespace
BlockEvents {
class
BlockPlaceEvent
; }
19
// clang-format on
20
21
class
CoralFanHang :
public
::CoralFan {
22
public
:
23
// member variables
24
// NOLINTBEGIN
25
::ll::TypedStorage<8, 48, ::HashedString const> mCoralFanVersion;
26
// NOLINTEND
27
28
public
:
29
// prevent constructor by default
30
CoralFanHang();
31
32
public
:
33
// virtual functions
34
// NOLINTBEGIN
35
virtual ::ItemInstance asItemInstance(
::Block
const
&,
::BlockActor
const
*)
const
/*override*/
;
36
37
virtual
void
neighborChanged(
::BlockSource
& region,
::BlockPos
const
& pos,
::BlockPos
const
& neighborPos)
const
38
/*override*/
;
39
40
virtual ::AABB
const
&
41
getOutline(
::Block
const
& block,
::IConstBlockSource
const
& pos,
::BlockPos
const
& bufferValue,
::AABB
&)
const
42
/*override*/
;
43
44
virtual
bool
canSurvive(
::BlockSource
& region,
::BlockPos
const
& pos)
const
/*override*/
;
45
46
virtual
void
checkAlive(
::BlockSource
& region,
::BlockPos
const
& pos)
const
/*override*/
;
47
48
virtual
bool
mayPlaceOn(
::BlockSource
& region,
::BlockPos
const
& pos)
const
/*override*/
;
49
// NOLINTEND
50
51
public
:
52
// member functions
53
// NOLINTBEGIN
54
MCAPI CoralFanHang(
55
::std::string
const
& nameId,
56
int
id
,
57
::HashedString
const
& coralFanVersion,
58
::HashedString
const
& deadVersion
59
);
60
61
MCAPI
void
onPlace(
::BlockEvents::BlockPlaceEvent
& eventData)
const
;
62
// NOLINTEND
63
64
public
:
65
// static functions
66
// NOLINTBEGIN
67
MCAPI
static
bool
hasSupport(
::Block
const
& supportingBlock, uchar face);
68
// NOLINTEND
69
70
public
:
71
// constructor thunks
72
// NOLINTBEGIN
73
MCAPI
void
* $ctor(
74
::std::string
const
& nameId,
75
int
id
,
76
::HashedString
const
& coralFanVersion,
77
::HashedString
const
& deadVersion
78
);
79
// NOLINTEND
80
81
public
:
82
// virtual function thunks
83
// NOLINTBEGIN
84
MCAPI ::ItemInstance $asItemInstance(
::Block
const
&,
::BlockActor
const
*)
const
;
85
86
MCAPI
void
$neighborChanged(
::BlockSource
& region,
::BlockPos
const
& pos,
::BlockPos
const
& neighborPos)
const
;
87
88
MCAPI ::AABB
const
&
89
$getOutline(
::Block
const
& block,
::IConstBlockSource
const
& pos,
::BlockPos
const
& bufferValue,
::AABB
&)
const
;
90
91
MCAPI
bool
$canSurvive(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
92
93
MCAPI
void
$checkAlive(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
94
95
MCFOLD
bool
$mayPlaceOn(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
96
97
98
// NOLINTEND
99
100
public
:
101
// vftables
102
// NOLINTBEGIN
103
MCAPI
static
void
** $vftable();
104
// NOLINTEND
105
};
AABB
Definition
AABB.h:18
BlockActor
Definition
BlockActor.h:30
BlockEvents::BlockPlaceEvent
Definition
BlockPlaceEvent.h:18
BlockPos
Definition
BlockPos.h:21
BlockSource
Definition
BlockSource.h:73
Block
Definition
Block.h:69
HashedString
Definition
HashedString.h:5
IConstBlockSource
Definition
IConstBlockSource.h:24
ItemInstance
Definition
ItemInstance.h:15
src
mc
world
level
block
CoralFanHang.h
Generated on
for LeviLamina by
1.16.1