LeviLamina
Loading...
Searching...
No Matches
EatCarriedItemGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ai/goal/Goal.h"
7
8// auto generated forward declare list
9// clang-format off
10class ItemStack;
11class Mob;
12// clang-format on
13
14class EatCarriedItemGoal : public ::Goal {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
19 ::ll::TypedStorage<8, 8, uint64 const> mStartDelay;
20 ::ll::TypedStorage<8, 8, uint64> mStartDelayCounter;
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 EatCarriedItemGoal& operator=(EatCarriedItemGoal const&);
26 EatCarriedItemGoal(EatCarriedItemGoal const&);
27 EatCarriedItemGoal();
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 bool canContinueToUse() /*override*/;
41
42 virtual void appendDebugInfo(::std::string& str) const /*override*/;
43
44 virtual ~EatCarriedItemGoal() /*override*/ = default;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCFOLD void _updateHand(::ItemStack const& item);
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCAPI bool $canUse();
57
58 MCAPI void $start();
59
60 MCAPI void $stop();
61
62 MCAPI void $tick();
63
64 MCAPI bool $canContinueToUse();
65
66 MCAPI void $appendDebugInfo(::std::string& str) const;
67
68
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCNAPI static void** $vftable();
75 // NOLINTEND
76};
static MCAPI void ** $vftable()
Definition Goal.h:14
Definition ItemStack.h:26
Definition Mob.h:50