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& rocketUserData,
79 ::CompoundTag const& dir,
80 ::Vec3 const& attachedEntity,
81 ::ActorUniqueID isProjectile,
82 bool
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 // destructor thunk
113 // NOLINTBEGIN
114
115 // NOLINTEND
116
117public:
118 // virtual function thunks
119 // NOLINTBEGIN
120 MCFOLD float $getShadowRadius() const;
121
122 MCAPI void $lerpMotion(::Vec3 const& delta);
123
124 MCAPI void $onSynchedDataUpdate(int dataId);
125
126 MCAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
127
128 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
129 // NOLINTEND
130
131public:
132 // vftables
133 // NOLINTBEGIN
134 MCAPI static void** $vftable();
135 // NOLINTEND
136};
Definition ActorDefinitionGroup.h:27
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition EntityContext.h:16
Definition FireworksRocketActor.h:23
Definition Level.h:234
Definition PredictableProjectile.h:8
Definition Random.h:16
Definition SynchedActorDataEntityWrapper.h:18
Definition Vec3.h:10
Definition ActorDefinitionIdentifier.h:13
Definition ActorUniqueID.h:5
Definition Alias.h:14