LeviLamina
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
MCAPI ThrownPotion(
44
::ActorDefinitionGroup
* definitions,
45
::ActorDefinitionIdentifier
const
& definitionName,
46
::EntityContext
& entityContext
47
);
48
49
MCAPI
short
getPotionId()
const
;
50
51
MCAPI
void
setLinger(
bool
linger);
52
// NOLINTEND
53
54
public
:
55
// static variables
56
// NOLINTBEGIN
57
MCAPI
static
float
const
& SPLASH_RANGE();
58
// NOLINTEND
59
60
public
:
61
// constructor thunks
62
// NOLINTBEGIN
63
MCAPI
void
* $ctor(
64
::ActorDefinitionGroup
* definitions,
65
::ActorDefinitionIdentifier
const
& definitionName,
66
::EntityContext
& entityContext
67
);
68
// NOLINTEND
69
70
public
:
71
// virtual function thunks
72
// NOLINTBEGIN
73
MCAPI
void
$initializeComponents(::ActorInitializationMethod method,
::VariantParameterList
const
& params);
74
75
MCAPI
void
$addAdditionalSaveData(
::CompoundTag
& tag)
const
;
76
77
MCAPI
void
$readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
78
79
MCFOLD
void
$setAuxValue(
int
aux);
80
81
MCAPI ::HashedString
const
& $queryEntityRenderer()
const
;
82
83
84
// NOLINTEND
85
86
public
:
87
// vftables
88
// NOLINTBEGIN
89
MCAPI
static
void
** $vftable();
90
// NOLINTEND
91
};
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:37
CompoundTag
Definition
CompoundTag.h:23
DataLoadHelper
Definition
DataLoadHelper.h:20
EntityContext
Definition
EntityContext.h:17
HashedString
Definition
HashedString.h:5
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:15
VariantParameterList
Definition
VariantParameterList.h:14
src
mc
world
actor
projectile
ThrownPotion.h
Generated on
for LeviLamina by
1.16.1