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
ComparatorBlockActor.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/block/actor/VanillaBlockActor.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
BlockSource
;
11
class
CompoundTag
;
12
class
DataLoadHelper
;
13
class
ILevel
;
14
class
SaveContext
;
15
// clang-format on
16
17
class
ComparatorBlockActor
:
public
::VanillaBlockActor {
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::TypedStorage<4, 4, int> mOutput;
22
// NOLINTEND
23
24
public
:
25
// virtual functions
26
// NOLINTBEGIN
27
virtual
bool
save(
::CompoundTag
& tag,
::SaveContext
const
& saveContext)
const
/*override*/
;
28
29
virtual
void
load(
::ILevel
& level,
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
30
31
virtual
void
tick(
::BlockSource
& region)
/*override*/
;
32
33
virtual
int
getOutputSignal();
34
35
virtual
void
setOutputSignal(
int
value);
36
// NOLINTEND
37
38
public
:
39
// virtual function thunks
40
// NOLINTBEGIN
41
MCNAPI
bool
$save
(
::CompoundTag
& tag,
::SaveContext
const
& saveContext)
const
;
42
43
MCNAPI
void
$load
(
::ILevel
& level,
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
44
45
MCNAPI
void
$tick
(
::BlockSource
& region);
46
47
MCNAPI
int
$getOutputSignal
();
48
49
MCNAPI
void
$setOutputSignal
(
int
value);
50
51
52
// NOLINTEND
53
54
public
:
55
// vftables
56
// NOLINTBEGIN
57
MCNAPI
static
void
**
$vftableForIVanillaMainBlockActorComponent
();
58
59
MCNAPI
static
void
**
$vftableForIVanillaRenderBlockActorComponent
();
60
61
MCNAPI
static
void
**
$vftableForBlockActor
();
62
63
MCNAPI
static
void
**
$vftableForIVanillaTickBlockActorComponent
();
64
// NOLINTEND
65
};
BlockSource
Definition
BlockSource.h:72
ComparatorBlockActor
Definition
ComparatorBlockActor.h:17
ComparatorBlockActor::$vftableForBlockActor
static MCAPI void ** $vftableForBlockActor()
ComparatorBlockActor::$tick
MCAPI void $tick(::BlockSource ®ion)
ComparatorBlockActor::$vftableForIVanillaRenderBlockActorComponent
static MCAPI void ** $vftableForIVanillaRenderBlockActorComponent()
ComparatorBlockActor::$vftableForIVanillaMainBlockActorComponent
static MCAPI void ** $vftableForIVanillaMainBlockActorComponent()
ComparatorBlockActor::$getOutputSignal
MCAPI int $getOutputSignal()
ComparatorBlockActor::$load
MCAPI void $load(::ILevel &level, ::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
ComparatorBlockActor::$vftableForIVanillaTickBlockActorComponent
static MCAPI void ** $vftableForIVanillaTickBlockActorComponent()
ComparatorBlockActor::$save
MCAPI bool $save(::CompoundTag &tag, ::SaveContext const &saveContext) const
ComparatorBlockActor::$setOutputSignal
MCAPI void $setOutputSignal(int value)
CompoundTag
Definition
CompoundTag.h:18
DataLoadHelper
Definition
DataLoadHelper.h:20
ILevel
Definition
ILevel.h:223
SaveContext
Definition
SaveContext.h:5
src
mc
world
level
block
actor
ComparatorBlockActor.h
Generated on
for LeviLamina by
1.16.1