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
Painting.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/actor/HangingActor.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
ActorDefinitionGroup
;
11
class
BlockSource
;
12
class
CompoundTag
;
13
class
DataLoadHelper
;
14
class
EntityContext
;
15
class
Motif
;
16
class
Packet
;
17
struct
ActorDefinitionIdentifier
;
18
// clang-format on
19
20
class
Painting :
public
::HangingActor {
21
public
:
22
// member variables
23
// NOLINTBEGIN
24
::ll::TypedStorage<8, 8, ::Motif const*> mMotif;
25
// NOLINTEND
26
27
public
:
28
// prevent constructor by default
29
Painting();
30
31
public
:
32
// virtual functions
33
// NOLINTBEGIN
34
virtual
float
getShadowRadius()
const
/*override*/
;
35
36
virtual ::std::unique_ptr<::Packet> tryCreateAddActorPacket()
/*override*/
;
37
38
virtual
int
getWidth()
const
/*override*/
;
39
40
virtual
int
getHeight()
const
/*override*/
;
41
42
virtual
void
dropItem()
/*override*/
;
43
44
virtual
void
remove()
/*override*/
;
45
46
virtual
bool
placeHangingEntity(
::BlockSource
& region,
int
direction)
/*override*/
;
47
48
virtual
void
addAdditionalSaveData(
::CompoundTag
& tag)
const
/*override*/
;
49
50
virtual
void
readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
51
// NOLINTEND
52
53
public
:
54
// member functions
55
// NOLINTBEGIN
56
MCNAPI
Painting
(
57
::ActorDefinitionGroup
* definitions,
58
::ActorDefinitionIdentifier
const
& definitionName,
59
::EntityContext
& entityContext
60
);
61
62
#ifdef LL_PLAT_C
63
MCNAPI
void
clientInitialize(
int
dir, ::std::string
const
& motifName);
64
#endif
65
// NOLINTEND
66
67
public
:
68
// constructor thunks
69
// NOLINTBEGIN
70
MCNAPI
void
*
$ctor
(
71
::ActorDefinitionGroup
* definitions,
72
::ActorDefinitionIdentifier
const
& definitionName,
73
::EntityContext
& entityContext
74
);
75
// NOLINTEND
76
77
public
:
78
// virtual function thunks
79
// NOLINTBEGIN
80
MCNAPI
float
$getShadowRadius
()
const
;
81
82
MCNAPI ::std::unique_ptr<::Packet>
$tryCreateAddActorPacket
();
83
84
MCNAPI
int
$getWidth
()
const
;
85
86
MCNAPI
int
$getHeight
()
const
;
87
88
MCNAPI
void
$dropItem
();
89
90
MCNAPI
void
$remove
();
91
92
MCNAPI
bool
$placeHangingEntity
(
::BlockSource
& region,
int
direction);
93
94
MCNAPI
void
$addAdditionalSaveData
(
::CompoundTag
& tag)
const
;
95
96
MCNAPI
void
$readAdditionalSaveData
(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
97
98
99
// NOLINTEND
100
101
public
:
102
// vftables
103
// NOLINTBEGIN
104
MCNAPI
static
void
**
$vftable
();
105
// NOLINTEND
106
};
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:26
BlockSource
Definition
BlockSource.h:72
CompoundTag
Definition
CompoundTag.h:18
DataLoadHelper
Definition
DataLoadHelper.h:20
EntityContext
Definition
EntityContext.h:15
Motif
Definition
Motif.h:10
Packet
Definition
Packet.h:29
Painting::$ctor
MCAPI void * $ctor(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
Painting::$dropItem
MCAPI void $dropItem()
Painting::$placeHangingEntity
MCAPI bool $placeHangingEntity(::BlockSource ®ion, int direction)
Painting::$tryCreateAddActorPacket
MCAPI ::std::unique_ptr<::Packet > $tryCreateAddActorPacket()
Painting::Painting
MCAPI Painting(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
Painting::$readAdditionalSaveData
MCAPI void $readAdditionalSaveData(::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
Painting::$getWidth
MCAPI int $getWidth() const
Painting::$addAdditionalSaveData
MCAPI void $addAdditionalSaveData(::CompoundTag &tag) const
Painting::$getHeight
MCAPI int $getHeight() const
Painting::$remove
MCAPI void $remove()
Painting::$vftable
static MCAPI void ** $vftable()
Painting::$getShadowRadius
MCAPI float $getShadowRadius() const
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:15
src
mc
world
actor
Painting.h
Generated on
for LeviLamina by
1.16.1