LeviLamina
Loading...
Searching...
No Matches
ThrownTrident.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/AbstractArrow.h"
8
9// auto generated forward declare list
10// clang-format off
13class CompoundTag;
14class DataLoadHelper;
15class EntityContext;
16class ItemStack;
17class Player;
18class Vec3;
21// clang-format on
22
24public:
25 // ThrownTrident inner types define
26 enum class Data : int {
27 OwnerID = 17,
28 };
29
30public:
31 // member variables
32 // NOLINTBEGIN
36 // NOLINTEND
37
38public:
39 // prevent constructor by default
40 ThrownTrident& operator=(ThrownTrident const&);
43
44public:
45 // virtual functions
46 // NOLINTBEGIN
47 // vIndex: 2
48 virtual void reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params) /*override*/;
49
50 // vIndex: 138
51 virtual void shoot(::Vec3 const& dir, float pow, float uncertainty, ::Vec3 const& baseSpeed) /*override*/;
52
53 // vIndex: 39
54 virtual void playerTouch(::Player& player) /*override*/;
55
56 // vIndex: 71
57 virtual void despawn() /*override*/;
58
59 // vIndex: 1
60 virtual void outOfWorld() /*override*/;
61
62 // vIndex: 61
63 virtual bool isEnchanted() const /*override*/;
64
65 // vIndex: 135
66 virtual bool _hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite) /*override*/;
67
68 // vIndex: 137
69 virtual void addAdditionalSaveData(::CompoundTag& tag) const /*override*/;
70
71 // vIndex: 136
72 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
73
74 // vIndex: 139
75 virtual ::ItemStack _getPickupItem() const /*override*/;
76
77 // vIndex: 8
78 virtual ~ThrownTrident() /*override*/ = default;
79 // NOLINTEND
80
81public:
82 // member functions
83 // NOLINTBEGIN
84 MCAPI ThrownTrident(
85 ::ActorDefinitionGroup* definitions,
86 ::ActorDefinitionIdentifier const& definitionName,
87 ::EntityContext& entityContext
88 );
89
90 MCAPI void returnWithLoyalty(int enchantLevel);
91 // NOLINTEND
92
93public:
94 // constructor thunks
95 // NOLINTBEGIN
96 MCAPI void* $ctor(
97 ::ActorDefinitionGroup* definitions,
98 ::ActorDefinitionIdentifier const& definitionName,
99 ::EntityContext& entityContext
100 );
101 // NOLINTEND
102
103public:
104 // destructor thunk
105 // NOLINTBEGIN
106
107 // NOLINTEND
108
109public:
110 // virtual function thunks
111 // NOLINTBEGIN
112 MCAPI void $reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params);
113
114 MCFOLD void $shoot(::Vec3 const& dir, float pow, float uncertainty, ::Vec3 const& baseSpeed);
115
116 MCAPI void $playerTouch(::Player& player);
117
118 MCAPI void $despawn();
119
120 MCAPI void $outOfWorld();
121
122 MCAPI bool $isEnchanted() const;
123
124 MCAPI bool $_hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite);
125
126 MCAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
127
128 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
129
130 MCAPI ::ItemStack $_getPickupItem() const;
131 // NOLINTEND
132
133public:
134 // vftables
135 // NOLINTBEGIN
136 MCAPI static void** $vftable();
137 // NOLINTEND
138};
Definition AbstractArrow.h:22
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:27
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition EntityContext.h:16
Definition ItemStack.h:25
Definition Player.h:119
Definition ThrownTrident.h:23
Definition Vec3.h:10
Definition ActorDefinitionIdentifier.h:13
Definition VariantParameterList.h:5
Definition Alias.h:14