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
TrialSpawnerBlockActor.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
Actor
;
11
class
BlockActorDataPacket
;
12
class
BlockPos
;
13
class
BlockSource
;
14
class
CompoundTag
;
15
class
DataLoadHelper
;
16
class
ILevel
;
17
class
SaveContext
;
18
class
TrialSpawner
;
19
struct
ActorDefinitionIdentifier
;
20
// clang-format on
21
22
class
TrialSpawnerBlockActor :
public
::VanillaBlockActor {
23
public
:
24
// member variables
25
// NOLINTBEGIN
26
::ll::TypedStorage<8, 8, ::std::unique_ptr<::TrialSpawner>> mSpawner;
27
// NOLINTEND
28
29
public
:
30
// prevent constructor by default
31
TrialSpawnerBlockActor();
32
33
public
:
34
// virtual functions
35
// NOLINTBEGIN
36
virtual
~TrialSpawnerBlockActor()
/*override*/
=
default
;
37
38
virtual
void
load(
::ILevel
& level,
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
39
40
virtual
bool
save(
::CompoundTag
& tag,
::SaveContext
const
& saveContext)
const
/*override*/
;
41
42
virtual
void
tick(
::BlockSource
& region)
/*override*/
;
43
44
virtual
void
onRemoved(
::BlockSource
&)
/*override*/
;
45
46
virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource
&)
/*override*/
;
47
48
virtual
void
_onUpdatePacket(
::CompoundTag
const
& data,
::BlockSource
& region)
/*override*/
;
49
// NOLINTEND
50
51
public
:
52
// member functions
53
// NOLINTBEGIN
54
MCNAPI
explicit
TrialSpawnerBlockActor
(
::BlockPos
const
& pos);
55
56
MCNAPI
void
setMob
(
::BlockSource
& region,
::ActorDefinitionIdentifier
const
& identifier,
::Actor
* usingActor);
57
// NOLINTEND
58
59
public
:
60
// constructor thunks
61
// NOLINTBEGIN
62
MCNAPI
void
*
$ctor
(
::BlockPos
const
& pos);
63
// NOLINTEND
64
65
public
:
66
// virtual function thunks
67
// NOLINTBEGIN
68
MCNAPI
void
$load
(
::ILevel
& level,
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
69
70
MCNAPI
bool
$save
(
::CompoundTag
& tag,
::SaveContext
const
& saveContext)
const
;
71
72
MCNAPI
void
$tick
(
::BlockSource
& region);
73
74
MCNAPI
void
$onRemoved
(
::BlockSource
&);
75
76
MCNAPI ::std::unique_ptr<::BlockActorDataPacket>
$_getUpdatePacket
(
::BlockSource
&);
77
78
MCNAPI
void
$_onUpdatePacket
(
::CompoundTag
const
& data,
::BlockSource
& region);
79
80
81
// NOLINTEND
82
83
public
:
84
// vftables
85
// NOLINTBEGIN
86
MCNAPI
static
void
**
$vftableForBlockActor
();
87
88
MCNAPI
static
void
**
$vftableForIVanillaMainBlockActorComponent
();
89
90
MCNAPI
static
void
**
$vftableForIVanillaTickBlockActorComponent
();
91
92
MCNAPI
static
void
**
$vftableForIVanillaRenderBlockActorComponent
();
93
// NOLINTEND
94
};
Actor
Definition
Actor.h:116
BlockActorDataPacket
Definition
BlockActorDataPacket.h:19
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
TrialSpawnerBlockActor::$load
MCAPI void $load(::ILevel &level, ::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
TrialSpawnerBlockActor::$_onUpdatePacket
MCAPI void $_onUpdatePacket(::CompoundTag const &data, ::BlockSource ®ion)
TrialSpawnerBlockActor::$_getUpdatePacket
MCAPI ::std::unique_ptr<::BlockActorDataPacket > $_getUpdatePacket(::BlockSource &)
TrialSpawnerBlockActor::$save
MCAPI bool $save(::CompoundTag &tag, ::SaveContext const &saveContext) const
TrialSpawnerBlockActor::$vftableForIVanillaRenderBlockActorComponent
static MCAPI void ** $vftableForIVanillaRenderBlockActorComponent()
TrialSpawnerBlockActor::$vftableForBlockActor
static MCAPI void ** $vftableForBlockActor()
TrialSpawnerBlockActor::setMob
MCAPI void setMob(::BlockSource ®ion, ::ActorDefinitionIdentifier const &identifier, ::Actor *usingActor)
TrialSpawnerBlockActor::$vftableForIVanillaTickBlockActorComponent
static MCAPI void ** $vftableForIVanillaTickBlockActorComponent()
TrialSpawnerBlockActor::$vftableForIVanillaMainBlockActorComponent
static MCAPI void ** $vftableForIVanillaMainBlockActorComponent()
TrialSpawnerBlockActor::$onRemoved
MCAPI void $onRemoved(::BlockSource &)
TrialSpawnerBlockActor::TrialSpawnerBlockActor
MCAPI TrialSpawnerBlockActor(::BlockPos const &pos)
TrialSpawnerBlockActor::$tick
MCAPI void $tick(::BlockSource ®ion)
TrialSpawnerBlockActor::$ctor
MCAPI void * $ctor(::BlockPos const &pos)
TrialSpawner
Definition
TrialSpawner.h:26
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:15
src
mc
world
level
block
actor
TrialSpawnerBlockActor.h
Generated on
for LeviLamina by
1.16.1