Skip to content
LeviLamina
Loading...
Searching...
No Matches
TemptGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
7#include "mc/world/actor/ai/goal/TemptBaseGoal.h"
8
9// auto generated forward declare list
10// clang-format off
12class ItemDescriptor;
13class Mob;
14struct FloatRange;
15struct GoalId;
16// clang-format on
17
18class TemptGoal : public ::TemptBaseGoal {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 4, int> mPathfinderWaitTicks;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 TemptGoal();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual bool canUse() /*override*/;
33
34 virtual void start() /*override*/;
35
36 virtual void stop() /*override*/;
37
38 virtual void tick() /*override*/;
39
40 virtual void updateMovement() /*override*/;
41
42 virtual void stopMovement() /*override*/;
43
44 virtual void appendDebugInfo(::std::string& str) const /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCAPI TemptGoal(
51 ::Mob& mob,
52 ::std::string name,
53 ::GoalId const& goalId,
54 float speed,
55 ::std::vector<::ItemDescriptor> const& itemList,
56 ::SharedTypes::Legacy::LevelSoundEvent sound,
57 ::FloatRange soundIntervalRange,
58 bool canGetScared,
59 float temptDistance,
60 float stopDistance,
61 bool canTemptVertically,
62 bool canTemptWhileRidden,
63 ::ActorDefinitionTrigger const& onStartEvent,
64 ::ActorDefinitionTrigger const& onEndEvent
65 );
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
71 MCAPI void* $ctor(
72 ::Mob& mob,
73 ::std::string name,
74 ::GoalId const& goalId,
75 float speed,
76 ::std::vector<::ItemDescriptor> const& itemList,
77 ::SharedTypes::Legacy::LevelSoundEvent sound,
78 ::FloatRange soundIntervalRange,
79 bool canGetScared,
80 float temptDistance,
81 float stopDistance,
82 bool canTemptVertically,
83 bool canTemptWhileRidden,
84 ::ActorDefinitionTrigger const& onStartEvent,
85 ::ActorDefinitionTrigger const& onEndEvent
86 );
87 // NOLINTEND
88
89public:
90 // virtual function thunks
91 // NOLINTBEGIN
92 MCAPI bool $canUse();
93
94 MCAPI void $start();
95
96 MCAPI void $stop();
97
98 MCAPI void $tick();
99
100 MCAPI void $updateMovement();
101
102 MCFOLD void $stopMovement();
103
104 MCAPI void $appendDebugInfo(::std::string& str) const;
105
106
107 // NOLINTEND
108
109public:
110 // vftables
111 // NOLINTBEGIN
112 MCNAPI static void** $vftable();
113 // NOLINTEND
114};
Definition ActorDefinitionTrigger.h:14
Definition ItemDescriptor.h:25
Definition Mob.h:56
static MCAPI void ** $vftable()
Definition FloatRange.h:10
Definition GoalId.h:5