LeviLamina
Loading...
Searching...
No Matches
FishingHook.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/Actor.h"
7#include "mc/world/actor/ActorEvent.h"
8#include "mc/world/actor/ActorInitializationMethod.h"
9#include "mc/world/level/BlockPos.h"
10
11// auto generated forward declare list
12// clang-format off
14class EntityContext;
16struct ActorUniqueID;
18// clang-format on
19
20class FishingHook : public ::Actor {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<4, 4, float const> SHOOT_SPEED;
25 ::ll::TypedStorage<4, 4, float const> SHOOT_POWER;
26 ::ll::TypedStorage<4, 4, int const> NUM_PERCENTAGE_STEPS;
27 ::ll::TypedStorage<4, 12, ::BlockPos> mBlockPos;
28 ::ll::TypedStorage<4, 4, float> mBobTimer;
29 ::ll::TypedStorage<4, 4, float> mFishAngle;
30 ::ll::TypedStorage<4, 4, int> mLife;
31 ::ll::TypedStorage<4, 4, int> mFlightTime;
32 ::ll::TypedStorage<4, 4, int> mTimeUntilHooked;
33 ::ll::TypedStorage<4, 4, int> mTimeUntilLured;
34 ::ll::TypedStorage<4, 4, int> mTimeUntilNibble;
35 ::ll::TypedStorage<4, 4, int> mFishingSpeed;
36 ::ll::TypedStorage<1, 1, bool> mInGround;
37 // NOLINTEND
38
39public:
40 // prevent constructor by default
41 FishingHook();
42
43public:
44 // virtual functions
45 // NOLINTBEGIN
46 virtual ~FishingHook() /*override*/ = default;
47
48 virtual void remove() /*override*/;
49
50 virtual void handleEntityEvent(::ActorEvent eventId, int data) /*override*/;
51
52 virtual float getShadowRadius() const /*override*/;
53
54 virtual ::ActorUniqueID getSourceUniqueID() const /*override*/;
55
56 virtual bool shouldDropDeathLoot() const /*override*/;
57
58 virtual void reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params) /*override*/;
59 // NOLINTEND
60
61public:
62 // member functions
63 // NOLINTBEGIN
64 MCAPI FishingHook(
65 ::ActorDefinitionGroup* definitions,
66 ::ActorDefinitionIdentifier const& definitionName,
67 ::EntityContext& entityContext
68 );
69
70 MCAPI float _getWaterPercentage();
71
72 MCAPI void _pullCloser(::Actor& inEntity, float inSpeed);
73
74 MCAPI void postNormalTick();
75
76 MCAPI int retrieve();
77 // NOLINTEND
78
79public:
80 // constructor thunks
81 // NOLINTBEGIN
82 MCAPI void* $ctor(
83 ::ActorDefinitionGroup* definitions,
84 ::ActorDefinitionIdentifier const& definitionName,
85 ::EntityContext& entityContext
86 );
87 // NOLINTEND
88
89public:
90 // virtual function thunks
91 // NOLINTBEGIN
92 MCAPI void $remove();
93
94 MCAPI void $handleEntityEvent(::ActorEvent eventId, int data);
95
96 MCFOLD float $getShadowRadius() const;
97
98 MCFOLD ::ActorUniqueID $getSourceUniqueID() const;
99
100 MCFOLD bool $shouldDropDeathLoot() const;
101
102 MCAPI void $reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params);
103
104
105 // NOLINTEND
106
107public:
108 // vftables
109 // NOLINTBEGIN
110 MCAPI static void** $vftable();
111 // NOLINTEND
112};
Definition ActorDefinitionGroup.h:26
Definition EntityContext.h:15
Definition ActorDefinitionIdentifier.h:15
Definition ActorUniqueID.h:5
Definition VariantParameterList.h:14