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
Fireball.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/comprehensive/ParticleType.h"
7
#include "mc/legacy/ActorUniqueID.h"
8
#include "mc/world/actor/projectile/PredictableProjectile.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
ActorDefinitionGroup
;
13
class
CompoundTag
;
14
class
DataLoadHelper
;
15
class
EntityContext
;
16
class
IConstBlockSource
;
17
class
Vec3
;
18
struct
ActorDefinitionIdentifier
;
19
// clang-format on
20
21
class
Fireball :
public
::PredictableProjectile
{
22
public
:
23
// member variables
24
// NOLINTBEGIN
25
::ll::TypedStorage<8, 8, ::ActorUniqueID> ownerId;
26
::ll::TypedStorage<1, 1, bool> mInGround;
27
// NOLINTEND
28
29
public
:
30
// prevent constructor by default
31
Fireball();
32
33
public
:
34
// virtual functions
35
// NOLINTBEGIN
36
virtual
void
normalTick()
/*override*/
;
37
38
virtual
float
getBrightness(
float
a,
::IConstBlockSource
const
& region)
const
/*override*/
;
39
40
virtual ::ActorUniqueID getSourceUniqueID()
const
/*override*/
;
41
42
virtual
void
addAdditionalSaveData(
::CompoundTag
& tag)
const
/*override*/
;
43
44
virtual
void
readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
45
46
virtual
float
getInertia();
47
48
virtual ::ParticleType getTrailParticle();
49
50
virtual
bool
shouldBurn();
51
// NOLINTEND
52
53
public
:
54
// member functions
55
// NOLINTBEGIN
56
MCNAPI
Fireball
(
57
::ActorDefinitionGroup
* definitions,
58
::ActorDefinitionIdentifier
const
& definitionName,
59
::EntityContext
& entityContext
60
);
61
62
MCNAPI
void
_setPower
(
::Vec3
const
& power);
63
// NOLINTEND
64
65
public
:
66
// constructor thunks
67
// NOLINTBEGIN
68
MCNAPI
void
*
$ctor
(
69
::ActorDefinitionGroup
* definitions,
70
::ActorDefinitionIdentifier
const
& definitionName,
71
::EntityContext
& entityContext
72
);
73
// NOLINTEND
74
75
public
:
76
// virtual function thunks
77
// NOLINTBEGIN
78
MCAPI
void
$normalTick();
79
80
MCNAPI
float
$getBrightness
(
float
a,
::IConstBlockSource
const
& region)
const
;
81
82
MCNAPI ::ActorUniqueID
$getSourceUniqueID
()
const
;
83
84
MCNAPI
void
$addAdditionalSaveData
(
::CompoundTag
& tag)
const
;
85
86
MCNAPI
void
$readAdditionalSaveData
(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
87
88
MCNAPI
float
$getInertia
();
89
90
MCNAPI ::ParticleType
$getTrailParticle
();
91
92
MCNAPI
bool
$shouldBurn
();
93
94
95
// NOLINTEND
96
};
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:26
CompoundTag
Definition
CompoundTag.h:18
DataLoadHelper
Definition
DataLoadHelper.h:20
EntityContext
Definition
EntityContext.h:15
Fireball::_setPower
MCAPI void _setPower(::Vec3 const &power)
Fireball::Fireball
MCAPI Fireball(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
Fireball::$readAdditionalSaveData
MCAPI void $readAdditionalSaveData(::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
Fireball::$shouldBurn
MCAPI bool $shouldBurn()
Fireball::$getSourceUniqueID
MCAPI::ActorUniqueID $getSourceUniqueID() const
Fireball::$ctor
MCAPI void * $ctor(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
Fireball::$getInertia
MCAPI float $getInertia()
Fireball::$addAdditionalSaveData
MCAPI void $addAdditionalSaveData(::CompoundTag &tag) const
Fireball::$getTrailParticle
MCAPI::ParticleType $getTrailParticle()
Fireball::$getBrightness
MCAPI float $getBrightness(float a, ::IConstBlockSource const ®ion) const
IConstBlockSource
Definition
IConstBlockSource.h:25
PredictableProjectile
Definition
PredictableProjectile.h:8
Vec3
Definition
Vec3.h:10
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:15
src
mc
world
actor
projectile
Fireball.h
Generated on
for LeviLamina by
1.16.1