LeviLamina
Loading...
Searching...
No Matches
RedStoneOreBlock.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/block/BlockType.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Block
;
11
class
BlockActor
;
12
class
BlockPos
;
13
class
BlockSource
;
14
class
EntityContext
;
15
class
ItemInstance
;
16
class
Player
;
17
struct
BlockAnimateTickData
;
18
namespace
BlockEvents {
class
BlockPlayerInteractEvent
; }
19
namespace
BlockEvents {
class
BlockRandomTickEvent
; }
20
// clang-format on
21
22
class
RedStoneOreBlock
:
public
::BlockType {
23
public
:
24
// member variables
25
// NOLINTBEGIN
26
::ll::TypedStorage<1, 1, bool> mLit;
27
// NOLINTEND
28
29
public
:
30
// virtual functions
31
// NOLINTBEGIN
32
virtual
bool
attack(
::Player
* player,
::BlockPos
const
& pos)
const
/*override*/
;
33
34
virtual
void
onStandOn(
::EntityContext
& entity,
::BlockPos
const
& pos)
const
/*override*/
;
35
36
virtual
void
animateTickBedrockLegacy(
::BlockAnimateTickData
const
& tickData)
const
/*override*/
;
37
38
virtual ::ItemInstance asItemInstance(
::Block
const
&,
::BlockActor
const
*)
const
/*override*/
;
39
40
virtual
bool
canBeOriginalSurface(
bool
)
const
/*override*/
;
41
42
virtual
void
_lightUpBlock(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
43
44
virtual
void
_unlightBlock(
::BlockEvents::BlockRandomTickEvent
& eventData)
const
;
45
// NOLINTEND
46
47
public
:
48
// member functions
49
// NOLINTBEGIN
50
MCFOLD
void
randomTick(
::BlockEvents::BlockRandomTickEvent
& eventData)
const
;
51
52
MCAPI
void
use(
::BlockEvents::BlockPlayerInteractEvent
& eventData)
const
;
53
// NOLINTEND
54
55
public
:
56
// static functions
57
// NOLINTBEGIN
58
MCAPI
static
void
_poofParticles(
::BlockSource
& region,
::BlockPos
const
& pos);
59
// NOLINTEND
60
61
public
:
62
// virtual function thunks
63
// NOLINTBEGIN
64
MCAPI
bool
$attack(
::Player
* player,
::BlockPos
const
& pos)
const
;
65
66
MCAPI
void
$onStandOn(
::EntityContext
& entity,
::BlockPos
const
& pos)
const
;
67
68
MCAPI
void
$animateTickBedrockLegacy(
::BlockAnimateTickData
const
& tickData)
const
;
69
70
MCAPI ::ItemInstance $asItemInstance(
::Block
const
&,
::BlockActor
const
*)
const
;
71
72
MCFOLD
bool
$canBeOriginalSurface(
bool
)
const
;
73
74
MCAPI
void
$_lightUpBlock(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
75
76
MCAPI
void
$_unlightBlock(
::BlockEvents::BlockRandomTickEvent
& eventData)
const
;
77
78
79
// NOLINTEND
80
81
public
:
82
// vftables
83
// NOLINTBEGIN
84
MCAPI
static
void
** $vftable();
85
// NOLINTEND
86
};
BlockActor
Definition
BlockActor.h:29
BlockEvents::BlockPlayerInteractEvent
Definition
BlockPlayerInteractEvent.h:18
BlockEvents::BlockRandomTickEvent
Definition
BlockRandomTickEvent.h:16
BlockPos
Definition
BlockPos.h:17
BlockSource
Definition
BlockSource.h:71
Block
Definition
Block.h:41
EntityContext
Definition
EntityContext.h:15
ItemInstance
Definition
ItemInstance.h:15
Player
Definition
Player.h:129
RedStoneOreBlock
Definition
RedStoneOreBlock.h:22
BlockAnimateTickData
Definition
BlockAnimateTickData.h:14
src
mc
world
level
block
RedStoneOreBlock.h
Generated on
for LeviLamina by
1.16.1