LeviLamina
Loading...
Searching...
No Matches
Throwable.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ActorInitializationMethod.h"
7#include "mc/world/actor/projectile/PredictableProjectile.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
13class CompoundTag;
14class DataLoadHelper;
15class EntityContext;
16class Mob;
17class Player;
18class Vec3;
20struct ActorUniqueID;
22// clang-format on
23
25public:
26 // member variables
27 // NOLINTBEGIN
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
36 Throwable& operator=(Throwable const&);
37 Throwable(Throwable const&);
38 Throwable();
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 // vIndex: 4
44 virtual void
45 initializeComponents(::ActorInitializationMethod method, ::VariantParameterList const& params) /*override*/;
46
47 // vIndex: 22
48 virtual void lerpMotion(::Vec3 const& delta) /*override*/;
49
50 // vIndex: 138
51 virtual float getThrowPower();
52
53 // vIndex: 84
54 virtual ::ActorUniqueID getSourceUniqueID() const /*override*/;
55
56 // vIndex: 137
57 virtual void addAdditionalSaveData(::CompoundTag& tag) const /*override*/;
58
59 // vIndex: 136
60 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
61
62 // vIndex: 139
63 virtual float getThrowUpAngleOffset();
64
65 // vIndex: 140
66 virtual float getGravity();
67
68 // vIndex: 8
69 virtual ~Throwable() /*override*/;
70 // NOLINTEND
71
72public:
73 // member functions
74 // NOLINTBEGIN
75 MCAPI Throwable(
76 ::ActorDefinitionGroup* definitions,
77 ::ActorDefinitionIdentifier const& definitionName,
78 ::EntityContext& entityContext
79 );
80
81 MCAPI void shoot(::Mob& shooter);
82
83 MCAPI void shoot(::Vec3 const& dir, float pow, float baseSpeed, ::Vec3 const& uncertainty);
84 // NOLINTEND
85
86public:
87 // static functions
88 // NOLINTBEGIN
89 MCAPI static ::Actor* spawnPlayerProjectile(::ActorDefinitionIdentifier const& id, ::Player& player);
90 // NOLINTEND
91
92public:
93 // constructor thunks
94 // NOLINTBEGIN
95 MCAPI void* $ctor(
96 ::ActorDefinitionGroup* definitions,
97 ::ActorDefinitionIdentifier const& definitionName,
98 ::EntityContext& entityContext
99 );
100 // NOLINTEND
101
102public:
103 // destructor thunk
104 // NOLINTBEGIN
105 MCFOLD void $dtor();
106 // NOLINTEND
107
108public:
109 // virtual function thunks
110 // NOLINTBEGIN
111 MCAPI void $initializeComponents(::ActorInitializationMethod method, ::VariantParameterList const& params);
112
113 MCAPI void $lerpMotion(::Vec3 const& delta);
114
115 MCAPI float $getThrowPower();
116
117 MCAPI ::ActorUniqueID $getSourceUniqueID() const;
118
119 MCAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
120
121 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
122
123 MCFOLD float $getThrowUpAngleOffset();
124
125 MCAPI float $getGravity();
126 // NOLINTEND
127
128public:
129 // vftables
130 // NOLINTBEGIN
131 MCAPI static void** $vftable();
132 // NOLINTEND
133};
Definition ActorDefinitionGroup.h:27
Definition Actor.h:104
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition EntityContext.h:16
Definition Mob.h:47
Definition Player.h:119
Definition PredictableProjectile.h:8
Definition Throwable.h:24
Definition Vec3.h:10
Definition ActorDefinitionIdentifier.h:13
Definition ActorUniqueID.h:5
Definition VariantParameterList.h:5
Definition Alias.h:14