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
ContainerBlockActorComponent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/block/actor/BlockActorVersion.h"
7
#include "mc/world/level/block/actor/component/IBlockActorComponent.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
BlockType
;
12
class
CompoundTag
;
13
class
DataDrivenBlockContainer
;
14
class
ILevel
;
15
class
SaveContext
;
16
// clang-format on
17
18
class
ContainerBlockActorComponent
:
public
::IBlockActorComponent
{
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::TypedStorage<8, 8, ::std::unique_ptr<::DataDrivenBlockContainer>> mContainer;
23
// NOLINTEND
24
25
public
:
26
// virtual functions
27
// NOLINTBEGIN
28
virtual
~ContainerBlockActorComponent
()
/*override*/
=
default
;
29
30
virtual
void
save(
::CompoundTag
& parentTag,
::SaveContext
const
& saveContext)
const
/*override*/
;
31
32
virtual
void
load(
::CompoundTag
const
& parentTag,
::ILevel
& level, ::BlockActorVersion version)
/*override*/
;
33
// NOLINTEND
34
35
public
:
36
// static functions
37
// NOLINTBEGIN
38
MCNAPI static ::std::unique_ptr<::ContainerBlockActorComponent>
tryCreateFor
(
::BlockType
const
& blockType);
39
// NOLINTEND
40
41
public
:
42
// virtual function thunks
43
// NOLINTBEGIN
44
MCNAPI
void
$save
(
::CompoundTag
& parentTag,
::SaveContext
const
& saveContext)
const
;
45
46
MCNAPI
void
$load
(
::CompoundTag
const
& parentTag,
::ILevel
& level, ::BlockActorVersion version);
47
48
49
// NOLINTEND
50
51
public
:
52
// vftables
53
// NOLINTBEGIN
54
MCNAPI
static
void
**
$vftable
();
55
// NOLINTEND
56
};
BlockType
Definition
BlockType.h:79
CompoundTag
Definition
CompoundTag.h:18
ContainerBlockActorComponent
Definition
ContainerBlockActorComponent.h:18
ContainerBlockActorComponent::$vftable
static MCAPI void ** $vftable()
ContainerBlockActorComponent::$save
MCAPI void $save(::CompoundTag &parentTag, ::SaveContext const &saveContext) const
ContainerBlockActorComponent::tryCreateFor
static MCAPI ::std::unique_ptr<::ContainerBlockActorComponent > tryCreateFor(::BlockType const &blockType)
ContainerBlockActorComponent::$load
MCAPI void $load(::CompoundTag const &parentTag, ::ILevel &level, ::BlockActorVersion version)
DataDrivenBlockContainer
Definition
DataDrivenBlockContainer.h:17
ILevel
Definition
ILevel.h:223
SaveContext
Definition
SaveContext.h:5
IBlockActorComponent
Definition
IBlockActorComponent.h:15
src
mc
world
level
block
actor
component
ContainerBlockActorComponent.h
Generated on
for LeviLamina by
1.16.1