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/BaseGoal.h"
7
8// auto generated forward declare list
9// clang-format off
10class ItemStack;
11class Mob;
12// clang-format on
13
14class EatCarriedItemGoal : public ::BaseGoal {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
19 ::ll::TypedStorage<8, 8, uint64> 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 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI explicit EatCarriedItemGoal(::Mob& mob);
49
50 MCFOLD void _updateHand(::ItemStack const& item);
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCAPI void* $ctor(::Mob& mob);
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCAPI bool $canUse();
63
64 MCAPI void $start();
65
66 MCAPI void $stop();
67
68 MCAPI void $tick();
69
70 MCAPI bool $canContinueToUse();
71
72 MCAPI void $appendDebugInfo(::std::string& str) const;
73
74
75 // NOLINTEND
76
77public:
78 // vftables
79 // NOLINTBEGIN
80 MCNAPI static void** $vftable();
81 // NOLINTEND
82};
static MCAPI void ** $vftable()
Definition ItemStack.h:35
Definition Mob.h:57