LeviLamina
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
MCAPI
bool
$save(
::CompoundTag
& tag,
::SaveContext
const
& saveContext)
const
;
42
43
MCAPI
void
$load(
::ILevel
& level,
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
44
45
MCAPI
void
$tick(
::BlockSource
& region);
46
47
MCFOLD
int
$getOutputSignal();
48
49
MCAPI
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:71
ComparatorBlockActor
Definition
ComparatorBlockActor.h:17
ComparatorBlockActor::$vftableForBlockActor
static MCAPI void ** $vftableForBlockActor()
ComparatorBlockActor::$vftableForIVanillaRenderBlockActorComponent
static MCAPI void ** $vftableForIVanillaRenderBlockActorComponent()
ComparatorBlockActor::$vftableForIVanillaMainBlockActorComponent
static MCAPI void ** $vftableForIVanillaMainBlockActorComponent()
ComparatorBlockActor::$vftableForIVanillaTickBlockActorComponent
static MCAPI void ** $vftableForIVanillaTickBlockActorComponent()
CompoundTag
Definition
CompoundTag.h:18
DataLoadHelper
Definition
DataLoadHelper.h:20
ILevel
Definition
ILevel.h:221
SaveContext
Definition
SaveContext.h:5
src
mc
world
level
block
actor
ComparatorBlockActor.h
Generated on
for LeviLamina by
1.16.1