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/legacy/ActorUniqueID.h"
7#include "mc/world/actor/ActorInitializationMethod.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;
16class Mob;
17class Vec3;
20// clang-format on
21
22class Throwable : public ::PredictableProjectile {
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<1, 1, bool> mInGround;
27 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mOwnerId;
28 ::ll::TypedStorage<4, 4, int> mShakeTime;
29 ::ll::TypedStorage<4, 4, int> mLife;
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 Throwable();
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 virtual void
40 initializeComponents(::ActorInitializationMethod method, ::VariantParameterList const& params) /*override*/;
41
42 virtual void lerpMotion(::Vec3 const& delta) /*override*/;
43
44 virtual float getThrowPower();
45
46 virtual ::ActorUniqueID getSourceUniqueID() const /*override*/;
47
48 virtual void addAdditionalSaveData(::CompoundTag& tag) const /*override*/;
49
50 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
51
52 virtual float getThrowUpAngleOffset();
53
54 virtual float getGravity();
55 // NOLINTEND
56
57public:
58 // member functions
59 // NOLINTBEGIN
60 MCAPI Throwable(
61 ::ActorDefinitionGroup* definitions,
62 ::ActorDefinitionIdentifier const& definitionName,
63 ::EntityContext& entityContext
64 );
65
66 MCAPI void shoot(::Mob& shooter);
67 // NOLINTEND
68
69public:
70 // constructor thunks
71 // NOLINTBEGIN
72 MCAPI void* $ctor(
73 ::ActorDefinitionGroup* definitions,
74 ::ActorDefinitionIdentifier const& definitionName,
75 ::EntityContext& entityContext
76 );
77 // NOLINTEND
78
79public:
80 // virtual function thunks
81 // NOLINTBEGIN
82 MCAPI void $initializeComponents(::ActorInitializationMethod method, ::VariantParameterList const& params);
83
84 MCAPI void $lerpMotion(::Vec3 const& delta);
85
86 MCAPI float $getThrowPower();
87
88 MCAPI ::ActorUniqueID $getSourceUniqueID() const;
89
90 MCAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
91
92 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
93
94 MCFOLD float $getThrowUpAngleOffset();
95
96 MCAPI float $getGravity();
97
98
99 // NOLINTEND
100
101public:
102 // vftables
103 // NOLINTBEGIN
104 MCAPI static void** $vftable();
105 // NOLINTEND
106};
Definition ActorDefinitionGroup.h:32
Definition CompoundTag.h:18
Definition DataLoadHelper.h:20
Definition EntityContext.h:15
Definition Mob.h:55
Definition PredictableProjectile.h:8
Definition Vec3.h:10
Definition ActorDefinitionIdentifier.h:15
Definition VariantParameterList.h:13