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&);
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 1
33 virtual bool canUse() /*override*/;
34
35 // vIndex: 4
36 virtual void start() /*override*/;
37
38 // vIndex: 5
39 virtual void stop() /*override*/;
40
41 // vIndex: 6
42 virtual void tick() /*override*/;
43
44 // vIndex: 2
45 virtual bool canContinueToUse() /*override*/;
46
47 // vIndex: 7
48 virtual void appendDebugInfo(::std::string& str) const /*override*/;
49
50 // vIndex: 0
51 virtual ~EatCarriedItemGoal() /*override*/ = default;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCNAPI void _updateHand(::ItemStack const& item);
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCNAPI bool $canUse();
64
65 MCNAPI void $start();
66
67 MCNAPI void $stop();
68
69 MCNAPI void $tick();
70
71 MCNAPI bool $canContinueToUse();
72
73 MCNAPI void $appendDebugInfo(::std::string& str) const;
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCNAPI static void** $vftable();
80 // NOLINTEND
81};
Definition EatCarriedItemGoal.h:14
MCAPI void $stop()
MCAPI bool $canUse()
static MCAPI void ** $vftable()
MCAPI void $start()
MCAPI bool $canContinueToUse()
MCAPI void $tick()
MCAPI void _updateHand(::ItemStack const &item)
MCAPI void $appendDebugInfo(::std::string &str) const
Definition Goal.h:14
Definition ItemStack.h:25
Definition Mob.h:47