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
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 // vIndex: 35
42 virtual float getShadowRadius() const /*override*/;
43
44 // vIndex: 22
45 virtual void lerpMotion(::Vec3 const& delta) /*override*/;
46
47 // vIndex: 69
48 virtual void handleEntityEvent(::ActorEvent eventId, int data) /*override*/;
49
50 // vIndex: 93
51 virtual void onSynchedDataUpdate(int dataId) /*override*/;
52
53 // vIndex: 137
54 virtual void addAdditionalSaveData(::CompoundTag& tag) const /*override*/;
55
56 // vIndex: 136
57 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
58
59 // vIndex: 8
60 virtual ~FireworksRocketActor() /*override*/ = default;
61 // NOLINTEND
62
63public:
64 // member functions
65 // NOLINTBEGIN
67 ::ActorDefinitionGroup* definitions,
68 ::ActorDefinitionIdentifier const& definitionName,
69 ::EntityContext& entityContext
70 );
71
72 MCAPI void checkAchievement() const;
73
74 MCAPI void dealExplosionDamage();
75
76 MCAPI void init(
77 ::Level& level,
78 ::Vec3 const&,
79 ::CompoundTag const& rocketUserData,
80 ::Vec3 const& dir,
81 ::ActorUniqueID attachedEntity,
82 bool isProjectile
83 );
84
85 MCAPI void initTagData(::Random& random);
86
87 MCAPI void postNormalTick();
88 // NOLINTEND
89
90public:
91 // static functions
92 // NOLINTBEGIN
93 MCAPI static void initData(
95 ::CompoundTag const& rocketUserData,
96 ::Vec3 const& dir,
97 ::ActorUniqueID attachedEntity
98 );
99 // NOLINTEND
100
101public:
102 // constructor thunks
103 // NOLINTBEGIN
104 MCAPI void* $ctor(
105 ::ActorDefinitionGroup* definitions,
106 ::ActorDefinitionIdentifier const& definitionName,
107 ::EntityContext& entityContext
108 );
109 // NOLINTEND
110
111public:
112 // virtual function thunks
113 // NOLINTBEGIN
114 MCFOLD float $getShadowRadius() const;
115
116 MCAPI void $lerpMotion(::Vec3 const& delta);
117
118 MCAPI void $handleEntityEvent(::ActorEvent eventId, int data);
119
120 MCAPI void $onSynchedDataUpdate(int dataId);
121
122 MCAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
123
124 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
125 // NOLINTEND
126
127public:
128 // vftables
129 // NOLINTBEGIN
130 MCNAPI static void** $vftable();
131 // NOLINTEND
132};
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
Definition Alias.h:14