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
ThrownPotion.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/actor/ActorInitializationMethod.h"
7
#include "mc/world/actor/projectile/Throwable.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
ActorDefinitionGroup
;
12
class
CompoundTag
;
13
class
DataLoadHelper
;
14
class
EntityContext
;
15
class
HashedString
;
16
struct
ActorDefinitionIdentifier
;
17
struct
VariantParameterList
;
18
// clang-format on
19
20
class
ThrownPotion :
public
::Throwable {
21
public
:
22
// prevent constructor by default
23
ThrownPotion();
24
25
public
:
26
// virtual functions
27
// NOLINTBEGIN
28
virtual
void
29
initializeComponents(::ActorInitializationMethod method,
::VariantParameterList
const
& params)
/*override*/
;
30
31
virtual
void
addAdditionalSaveData(
::CompoundTag
& tag)
const
/*override*/
;
32
33
virtual
void
readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
34
35
virtual
void
setAuxValue(
int
aux)
/*override*/
;
36
37
virtual ::HashedString
const
& queryEntityRenderer()
const
/*override*/
;
38
// NOLINTEND
39
40
public
:
41
// member functions
42
// NOLINTBEGIN
43
MCNAPI
ThrownPotion
(
44
::ActorDefinitionGroup
* definitions,
45
::ActorDefinitionIdentifier
const
& definitionName,
46
::EntityContext
& entityContext
47
);
48
// NOLINTEND
49
50
public
:
51
// constructor thunks
52
// NOLINTBEGIN
53
MCNAPI
void
*
$ctor
(
54
::ActorDefinitionGroup
* definitions,
55
::ActorDefinitionIdentifier
const
& definitionName,
56
::EntityContext
& entityContext
57
);
58
// NOLINTEND
59
60
public
:
61
// virtual function thunks
62
// NOLINTBEGIN
63
MCNAPI
void
$initializeComponents
(::ActorInitializationMethod method,
::VariantParameterList
const
& params);
64
65
MCAPI
void
$addAdditionalSaveData(
::CompoundTag
& tag)
const
;
66
67
MCNAPI
void
$readAdditionalSaveData
(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
68
69
MCNAPI
void
$setAuxValue
(
int
aux);
70
71
MCNAPI ::HashedString
const
&
$queryEntityRenderer
()
const
;
72
73
74
// NOLINTEND
75
76
public
:
77
// vftables
78
// NOLINTBEGIN
79
MCNAPI
static
void
**
$vftable
();
80
// NOLINTEND
81
};
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:26
CompoundTag
Definition
CompoundTag.h:18
DataLoadHelper
Definition
DataLoadHelper.h:20
EntityContext
Definition
EntityContext.h:15
HashedString
Definition
HashedString.h:5
ThrownPotion::ThrownPotion
MCAPI ThrownPotion(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
ThrownPotion::$vftable
static MCAPI void ** $vftable()
ThrownPotion::$ctor
MCAPI void * $ctor(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
ThrownPotion::$readAdditionalSaveData
MCAPI void $readAdditionalSaveData(::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
ThrownPotion::$queryEntityRenderer
MCAPI::HashedString const & $queryEntityRenderer() const
ThrownPotion::$setAuxValue
MCAPI void $setAuxValue(int aux)
ThrownPotion::$initializeComponents
MCAPI void $initializeComponents(::ActorInitializationMethod method, ::VariantParameterList const ¶ms)
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:15
VariantParameterList
Definition
VariantParameterList.h:17
src
mc
world
actor
projectile
ThrownPotion.h
Generated on
for LeviLamina by
1.16.1