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
SculkSensorBlockActor.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/events/gameevents/VibrationListener.h"
7
#include "mc/world/level/block/actor/BlockActorType.h"
8
#include "mc/world/level/block/actor/VanillaBlockActor.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
BlockPos
;
13
class
BlockSource
;
14
class
CompoundTag
;
15
class
DataLoadHelper
;
16
class
ILevel
;
17
class
SaveContext
;
18
// clang-format on
19
20
class
SculkSensorBlockActor :
public
::VanillaBlockActor {
21
public
:
22
// member variables
23
// NOLINTBEGIN
24
::ll::TypedStorage<8, 200, ::VibrationListener> mVibrationListener;
25
::ll::TypedStorage<8, 80, ::std::optional<::gsl::final_action<::std::function<void()>>>> mListenerRegistration;
26
// NOLINTEND
27
28
public
:
29
// prevent constructor by default
30
SculkSensorBlockActor();
31
32
public
:
33
// virtual functions
34
// NOLINTBEGIN
35
virtual
bool
isTypeOrDerived(::BlockActorType type)
const
/*override*/
;
36
37
virtual
bool
save(
::CompoundTag
& tag,
::SaveContext
const
& saveContext)
const
/*override*/
;
38
39
virtual
void
load(
::ILevel
& level,
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
40
41
virtual
void
tick(
::BlockSource
& region)
/*override*/
;
42
43
virtual
void
onRemoved(
::BlockSource
& region)
/*override*/
;
44
// NOLINTEND
45
46
public
:
47
// member functions
48
// NOLINTBEGIN
49
MCNAPI
explicit
SculkSensorBlockActor
(
::BlockPos
const
& pos);
50
// NOLINTEND
51
52
public
:
53
// constructor thunks
54
// NOLINTBEGIN
55
MCNAPI
void
*
$ctor
(
::BlockPos
const
& pos);
56
// NOLINTEND
57
58
public
:
59
// virtual function thunks
60
// NOLINTBEGIN
61
MCNAPI
bool
$isTypeOrDerived
(::BlockActorType type)
const
;
62
63
MCNAPI
bool
$save
(
::CompoundTag
& tag,
::SaveContext
const
& saveContext)
const
;
64
65
MCNAPI
void
$load
(
::ILevel
& level,
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
66
67
MCNAPI
void
$tick
(
::BlockSource
& region);
68
69
MCNAPI
void
$onRemoved
(
::BlockSource
& region);
70
71
72
// NOLINTEND
73
74
public
:
75
// vftables
76
// NOLINTBEGIN
77
MCNAPI
static
void
**
$vftableForIVanillaRenderBlockActorComponent
();
78
79
MCNAPI
static
void
**
$vftableForIVanillaMainBlockActorComponent
();
80
81
MCNAPI
static
void
**
$vftableForBlockActor
();
82
83
MCNAPI
static
void
**
$vftableForIVanillaTickBlockActorComponent
();
84
// NOLINTEND
85
};
BlockPos
Definition
BlockPos.h:14
BlockSource
Definition
BlockSource.h:72
CompoundTag
Definition
CompoundTag.h:18
DataLoadHelper
Definition
DataLoadHelper.h:20
ILevel
Definition
ILevel.h:223
SaveContext
Definition
SaveContext.h:5
SculkSensorBlockActor::$onRemoved
MCAPI void $onRemoved(::BlockSource ®ion)
SculkSensorBlockActor::$isTypeOrDerived
MCAPI bool $isTypeOrDerived(::BlockActorType type) const
SculkSensorBlockActor::$tick
MCAPI void $tick(::BlockSource ®ion)
SculkSensorBlockActor::$vftableForBlockActor
static MCAPI void ** $vftableForBlockActor()
SculkSensorBlockActor::$vftableForIVanillaMainBlockActorComponent
static MCAPI void ** $vftableForIVanillaMainBlockActorComponent()
SculkSensorBlockActor::$save
MCAPI bool $save(::CompoundTag &tag, ::SaveContext const &saveContext) const
SculkSensorBlockActor::$vftableForIVanillaTickBlockActorComponent
static MCAPI void ** $vftableForIVanillaTickBlockActorComponent()
SculkSensorBlockActor::$vftableForIVanillaRenderBlockActorComponent
static MCAPI void ** $vftableForIVanillaRenderBlockActorComponent()
SculkSensorBlockActor::$ctor
MCAPI void * $ctor(::BlockPos const &pos)
SculkSensorBlockActor::$load
MCAPI void $load(::ILevel &level, ::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
SculkSensorBlockActor::SculkSensorBlockActor
MCAPI SculkSensorBlockActor(::BlockPos const &pos)
src
mc
world
level
block
actor
SculkSensorBlockActor.h
Generated on
for LeviLamina by
1.16.1