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