Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
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
MCNAPI
void
randomTick
(
::BlockEvents::BlockRandomTickEvent
& eventData)
const
;
51
52
MCNAPI
void
use
(
::BlockEvents::BlockPlayerInteractEvent
& eventData)
const
;
53
// NOLINTEND
54
55
public
:
56
// static functions
57
// NOLINTBEGIN
58
MCNAPI
static
void
_poofParticles
(
::BlockSource
& region,
::BlockPos
const
& pos);
59
// NOLINTEND
60
61
public
:
62
// virtual function thunks
63
// NOLINTBEGIN
64
MCNAPI
bool
$attack
(
::Player
* player,
::BlockPos
const
& pos)
const
;
65
66
MCNAPI
void
$onStandOn
(
::EntityContext
& entity,
::BlockPos
const
& pos)
const
;
67
68
MCNAPI
void
$animateTickBedrockLegacy
(
::BlockAnimateTickData
const
& tickData)
const
;
69
70
MCNAPI ::ItemInstance
$asItemInstance
(
::Block
const
&,
::BlockActor
const
*)
const
;
71
72
MCNAPI
bool
$canBeOriginalSurface
(
bool
)
const
;
73
74
MCNAPI
void
$_lightUpBlock
(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
75
76
MCNAPI
void
$_unlightBlock
(
::BlockEvents::BlockRandomTickEvent
& eventData)
const
;
77
78
79
// NOLINTEND
80
81
public
:
82
// vftables
83
// NOLINTBEGIN
84
MCNAPI
static
void
**
$vftable
();
85
// NOLINTEND
86
};
BlockActor
Definition
BlockActor.h:30
BlockEvents::BlockPlayerInteractEvent
Definition
BlockPlayerInteractEvent.h:18
BlockEvents::BlockRandomTickEvent
Definition
BlockRandomTickEvent.h:16
BlockPos
Definition
BlockPos.h:14
BlockSource
Definition
BlockSource.h:72
Block
Definition
Block.h:42
EntityContext
Definition
EntityContext.h:15
ItemInstance
Definition
ItemInstance.h:15
Player
Definition
Player.h:131
RedStoneOreBlock
Definition
RedStoneOreBlock.h:22
RedStoneOreBlock::$animateTickBedrockLegacy
MCAPI void $animateTickBedrockLegacy(::BlockAnimateTickData const &tickData) const
RedStoneOreBlock::$vftable
static MCAPI void ** $vftable()
RedStoneOreBlock::$asItemInstance
MCAPI::ItemInstance $asItemInstance(::Block const &, ::BlockActor const *) const
RedStoneOreBlock::$canBeOriginalSurface
MCAPI bool $canBeOriginalSurface(bool) const
RedStoneOreBlock::$_unlightBlock
MCAPI void $_unlightBlock(::BlockEvents::BlockRandomTickEvent &eventData) const
RedStoneOreBlock::use
MCAPI void use(::BlockEvents::BlockPlayerInteractEvent &eventData) const
RedStoneOreBlock::$onStandOn
MCAPI void $onStandOn(::EntityContext &entity, ::BlockPos const &pos) const
RedStoneOreBlock::randomTick
MCAPI void randomTick(::BlockEvents::BlockRandomTickEvent &eventData) const
RedStoneOreBlock::$_lightUpBlock
MCAPI void $_lightUpBlock(::BlockSource ®ion, ::BlockPos const &pos) const
RedStoneOreBlock::_poofParticles
static MCAPI void _poofParticles(::BlockSource ®ion, ::BlockPos const &pos)
RedStoneOreBlock::$attack
MCAPI bool $attack(::Player *player, ::BlockPos const &pos) const
BlockAnimateTickData
Definition
BlockAnimateTickData.h:14
src
mc
world
level
block
RedStoneOreBlock.h
Generated on
for LeviLamina by
1.16.1