LeviLamina
Loading...
Searching...
No Matches
CoralBlock.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/BlockType.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
BlockPos
;
12
class
BlockSource
;
13
class
Experiments
;
14
namespace
BlockEvents {
class
BlockPlaceEvent
; }
15
namespace
BlockEvents {
class
BlockQueuedTickEvent
; }
16
// clang-format on
17
18
class
CoralBlock :
public
::BlockType {
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::TypedStorage<8, 48, ::HashedString const> mDeadVersion;
23
// NOLINTEND
24
25
public
:
26
// prevent constructor by default
27
CoralBlock();
28
29
public
:
30
// virtual functions
31
// NOLINTBEGIN
32
virtual
void
neighborChanged(
::BlockSource
& region,
::BlockPos
const
& pos,
::BlockPos
const
& neighborPos)
const
33
/*override*/
;
34
35
virtual
bool
mayPlaceOn(
::BlockSource
& region,
::BlockPos
const
& pos)
const
/*override*/
;
36
37
virtual
void
_addHardCodedBlockComponents(
::Experiments
const
&)
/*override*/
;
38
39
virtual
~CoralBlock()
/*override*/
=
default
;
40
// NOLINTEND
41
42
public
:
43
// member functions
44
// NOLINTBEGIN
45
MCAPI CoralBlock(::std::string
const
& nameId,
int
id
,
::HashedString
const
& deadVersion);
46
47
MCAPI
void
onPlace(
::BlockEvents::BlockPlaceEvent
& eventData)
const
;
48
49
MCAPI
void
tick(
::BlockEvents::BlockQueuedTickEvent
& eventData)
const
;
50
// NOLINTEND
51
52
public
:
53
// constructor thunks
54
// NOLINTBEGIN
55
MCAPI
void
* $ctor(::std::string
const
& nameId,
int
id
,
::HashedString
const
& deadVersion);
56
// NOLINTEND
57
58
public
:
59
// virtual function thunks
60
// NOLINTBEGIN
61
MCAPI
void
$neighborChanged(
::BlockSource
& region,
::BlockPos
const
& pos,
::BlockPos
const
& neighborPos)
const
;
62
63
MCFOLD
bool
$mayPlaceOn(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
64
65
MCAPI
void
$_addHardCodedBlockComponents(
::Experiments
const
&);
66
67
68
// NOLINTEND
69
70
public
:
71
// vftables
72
// NOLINTBEGIN
73
MCAPI
static
void
** $vftable();
74
// NOLINTEND
75
};
BlockEvents::BlockPlaceEvent
Definition
BlockPlaceEvent.h:16
BlockEvents::BlockQueuedTickEvent
Definition
BlockQueuedTickEvent.h:16
BlockPos
Definition
BlockPos.h:19
BlockSource
Definition
BlockSource.h:68
Experiments
Definition
Experiments.h:14
HashedString
Definition
HashedString.h:5
src
mc
world
level
block
CoralBlock.h
Generated on
for LeviLamina by
1.16.1