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/TempEPtr.h"
8#include "mc/world/actor/ai/goal/Goal.h"
9
10// auto generated forward declare list
11// clang-format off
12class ItemDescriptor;
13class Mob;
14class Player;
15class Vec2;
16class Vec3;
17struct FloatRange;
18struct Tick;
19// clang-format on
20
21class TemptGoal : public ::Goal {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
26 ::ll::TypedStorage<4, 4, float> mSpeed;
27 ::ll::TypedStorage<8, 40, ::TempEPtr<::Player>> mPlayer;
28 ::ll::TypedStorage<4, 12, ::Vec3> mOldPlayerPosition;
29 ::ll::TypedStorage<4, 8, ::Vec2> mOldPlayerRotation;
30 ::ll::TypedStorage<1, 1, bool> mCanGetScared;
31 ::ll::TypedStorage<4, 4, int> mCalmDown;
32 ::ll::TypedStorage<1, 1, bool> mIsRunning;
33 ::ll::TypedStorage<1, 1, bool> mOldAvoidWater;
34 ::ll::TypedStorage<1, 1, bool> mCanTemptWhileRidden;
35 ::ll::TypedStorage<4, 4, int> mPathfinderWaitTicks;
36 ::ll::TypedStorage<4, 4, float> mTemptDistance;
37 ::ll::TypedStorage<8, 24, ::std::vector<::ItemDescriptor>> mItems;
38 ::ll::TypedStorage<1, 1, bool> mCanTemptVertically;
39 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mSoundEvent;
40 ::ll::TypedStorage<4, 8, ::FloatRange> mSoundIntervalRange;
41 ::ll::TypedStorage<8, 8, ::Tick> mNextSoundEventTick;
42 // NOLINTEND
43
44public:
45 // virtual functions
46 // NOLINTBEGIN
47 // vIndex: 1
48 virtual bool canUse() /*override*/;
49
50 // vIndex: 2
51 virtual bool canContinueToUse() /*override*/;
52
53 // vIndex: 4
54 virtual void start() /*override*/;
55
56 // vIndex: 5
57 virtual void stop() /*override*/;
58
59 // vIndex: 6
60 virtual void tick() /*override*/;
61
62 // vIndex: 7
63 virtual void appendDebugInfo(::std::string& str) const /*override*/;
64
65 // vIndex: 0
66 virtual ~TemptGoal() /*override*/;
67 // NOLINTEND
68
69public:
70 // destructor thunk
71 // NOLINTBEGIN
72 MCAPI void $dtor();
73 // NOLINTEND
74
75public:
76 // virtual function thunks
77 // NOLINTBEGIN
78 MCAPI bool $canUse();
79
80 MCAPI bool $canContinueToUse();
81
82 MCAPI void $start();
83
84 MCAPI void $stop();
85
86 MCAPI void $tick();
87
88 MCAPI void $appendDebugInfo(::std::string& str) const;
89 // NOLINTEND
90
91public:
92 // vftables
93 // NOLINTBEGIN
94 MCAPI static void** $vftable();
95 // NOLINTEND
96};
Definition Goal.h:14
Definition ItemDescriptor.h:22
Definition Mob.h:47
Definition Player.h:119
Definition TemptGoal.h:21
Definition Vec2.h:5
Definition Vec3.h:10
Definition FloatRange.h:11
Definition Tick.h:5