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
&,
::BlockPos
const
& pos,
::AABB
& bufferValue)
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
// constructor thunks
66
// NOLINTBEGIN
67
MCAPI
void
* $ctor(
68
::std::string
const
& nameId,
69
int
id
,
70
::HashedString
const
& coralFanVersion,
71
::HashedString
const
& deadVersion
72
);
73
// NOLINTEND
74
75
public
:
76
// virtual function thunks
77
// NOLINTBEGIN
78
MCAPI ::ItemInstance $asItemInstance(
::Block
const
&,
::BlockActor
const
*)
const
;
79
80
MCAPI
void
$neighborChanged(
::BlockSource
& region,
::BlockPos
const
& pos,
::BlockPos
const
& neighborPos)
const
;
81
82
MCAPI ::AABB
const
&
83
$getOutline(
::Block
const
& block,
::IConstBlockSource
const
&,
::BlockPos
const
& pos,
::AABB
& bufferValue)
const
;
84
85
MCAPI
bool
$canSurvive(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
86
87
MCAPI
void
$checkAlive(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
88
89
MCFOLD
bool
$mayPlaceOn(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
90
91
92
// NOLINTEND
93
94
public
:
95
// vftables
96
// NOLINTBEGIN
97
MCAPI
static
void
** $vftable();
98
// NOLINTEND
99
};
AABB
Definition
AABB.h:18
BlockActor
Definition
BlockActor.h:29
BlockEvents::BlockPlaceEvent
Definition
BlockPlaceEvent.h:16
BlockPos
Definition
BlockPos.h:17
BlockSource
Definition
BlockSource.h:71
Block
Definition
Block.h:41
HashedString
Definition
HashedString.h:5
IConstBlockSource
Definition
IConstBlockSource.h:25
ItemInstance
Definition
ItemInstance.h:15
src
mc
world
level
block
CoralFanHang.h
Generated on
for LeviLamina by
1.16.1