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
52 virtual ~Fireball() /*override*/;
53 // NOLINTEND
54
55public:
56 // member functions
57 // NOLINTBEGIN
58 MCAPI Fireball(
59 ::ActorDefinitionGroup* definitions,
60 ::ActorDefinitionIdentifier const& definitionName,
61 ::EntityContext& entityContext
62 );
63
64 MCAPI void _setPower(::Vec3 const& power);
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70 MCAPI void* $ctor(
71 ::ActorDefinitionGroup* definitions,
72 ::ActorDefinitionIdentifier const& definitionName,
73 ::EntityContext& entityContext
74 );
75 // NOLINTEND
76
77public:
78 // destructor thunk
79 // NOLINTBEGIN
80 MCFOLD void $dtor();
81 // NOLINTEND
82
83public:
84 // virtual function thunks
85 // NOLINTBEGIN
86 MCAPI void $normalTick();
87
88 MCFOLD float $getBrightness(float a, ::IConstBlockSource const& region) const;
89
90 MCFOLD ::ActorUniqueID $getSourceUniqueID() const;
91
92 MCAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
93
94 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
95
96 MCAPI float $getInertia();
97
98 MCFOLD ::ParticleType $getTrailParticle();
99
100 MCFOLD bool $shouldBurn();
101
102
103 // NOLINTEND
104
105public:
106 // vftables
107 // NOLINTBEGIN
108 MCAPI static void** $vftable();
109 // NOLINTEND
110};
Definition ActorDefinitionGroup.h:35
Definition CompoundTag.h:23
Definition DataLoadHelper.h:20
Definition EntityContext.h:16
Definition IConstBlockSource.h:25
Definition PredictableProjectile.h:8
Definition Vec3.h:10
Definition ActorDefinitionIdentifier.h:15