LeviLamina
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
13class CompoundTag;
14class DataLoadHelper;
15class EntityContext;
17class Vec3;
19// clang-format on
20
21class Fireball : public ::PredictableProjectile {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 8, ::ActorUniqueID> ownerId;
26 ::ll::TypedStorage<1, 1, bool> mInGround;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 Fireball();
32
33public:
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
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCAPI Fireball(
57 ::ActorDefinitionGroup* definitions,
58 ::ActorDefinitionIdentifier const& definitionName,
59 ::EntityContext& entityContext
60 );
61
62 MCAPI void _setPower(::Vec3 const& power);
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCAPI void* $ctor(
69 ::ActorDefinitionGroup* definitions,
70 ::ActorDefinitionIdentifier const& definitionName,
71 ::EntityContext& entityContext
72 );
73 // NOLINTEND
74
75public:
76 // virtual function thunks
77 // NOLINTBEGIN
78 MCAPI void $normalTick();
79
80 MCFOLD float $getBrightness(float a, ::IConstBlockSource const& region) const;
81
82 MCFOLD ::ActorUniqueID $getSourceUniqueID() const;
83
84 MCAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
85
86 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
87
88 MCAPI float $getInertia();
89
90 MCFOLD ::ParticleType $getTrailParticle();
91
92 MCFOLD bool $shouldBurn();
93
94
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
100 MCAPI static void** $vftable();
101 // NOLINTEND
102};
Definition ActorDefinitionGroup.h:37
Definition CompoundTag.h:23
Definition DataLoadHelper.h:20
Definition EntityContext.h:17
Definition IConstBlockSource.h:24
Definition Vec3.h:10
Definition ActorDefinitionIdentifier.h:15