LeviLamina
Loading...
Searching...
No Matches
FireworksRocketActor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ActorEvent.h"
7#include "mc/world/actor/projectile/PredictableProjectile.h"
8
9// auto generated forward declare list
10// clang-format off
12class CompoundTag;
13class DataLoadHelper;
14class EntityContext;
15class Level;
16class Random;
18class Vec3;
20struct ActorUniqueID;
21// clang-format on
22
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<4, 4, int> mLife;
28 ::ll::TypedStorage<4, 4, int> mLifeTime;
29 ::ll::TypedStorage<1, 1, bool> mDispensed;
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 // vIndex: 35
40 virtual float getShadowRadius() const /*override*/;
41
42 // vIndex: 22
43 virtual void lerpMotion(::Vec3 const& delta) /*override*/;
44
45 // vIndex: 69
46 virtual void handleEntityEvent(::ActorEvent eventId, int data) /*override*/;
47
48 // vIndex: 93
49 virtual void onSynchedDataUpdate(int dataId) /*override*/;
50
51 // vIndex: 137
52 virtual void addAdditionalSaveData(::CompoundTag& tag) const /*override*/;
53
54 // vIndex: 136
55 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
56
57 // vIndex: 8
58 virtual ~FireworksRocketActor() /*override*/ = default;
59 // NOLINTEND
60
61public:
62 // member functions
63 // NOLINTBEGIN
65 ::ActorDefinitionGroup* definitions,
66 ::ActorDefinitionIdentifier const& definitionName,
67 ::EntityContext& entityContext
68 );
69
70 MCAPI void checkAchievement() const;
71
72 MCAPI void dealExplosionDamage();
73
74 MCAPI void init(
75 ::Level& level,
76 ::Vec3 const&,
77 ::CompoundTag const& rocketUserData,
78 ::Vec3 const& dir,
79 ::ActorUniqueID attachedEntity,
80 bool isProjectile
81 );
82
83 MCAPI void initTagData(::Random& random);
84
85 MCAPI void postNormalTick();
86 // NOLINTEND
87
88public:
89 // static functions
90 // NOLINTBEGIN
91 MCAPI static void initData(
93 ::CompoundTag const& rocketUserData,
94 ::Vec3 const& dir,
95 ::ActorUniqueID attachedEntity
96 );
97 // NOLINTEND
98
99public:
100 // constructor thunks
101 // NOLINTBEGIN
102 MCAPI void* $ctor(
103 ::ActorDefinitionGroup* definitions,
104 ::ActorDefinitionIdentifier const& definitionName,
105 ::EntityContext& entityContext
106 );
107 // NOLINTEND
108
109public:
110 // virtual function thunks
111 // NOLINTBEGIN
112 MCFOLD float $getShadowRadius() const;
113
114 MCAPI void $lerpMotion(::Vec3 const& delta);
115
116 MCAPI void $handleEntityEvent(::ActorEvent eventId, int data);
117
118 MCAPI void $onSynchedDataUpdate(int dataId);
119
120 MCAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
121
122 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
123 // NOLINTEND
124
125public:
126 // vftables
127 // NOLINTBEGIN
128 MCNAPI static void** $vftable();
129 // NOLINTEND
130};
Definition ActorDefinitionGroup.h:29
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition EntityContext.h:16
Definition FireworksRocketActor.h:23
static MCAPI void ** $vftable()
Definition Level.h:238
Definition PredictableProjectile.h:8
Definition Random.h:11
Definition SynchedActorDataEntityWrapper.h:18
Definition Vec3.h:10
Definition ActorDefinitionIdentifier.h:15
Definition ActorUniqueID.h:5