LeviLamina
Loading...
Searching...
No Matches
EatBlockGoal.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 Actor;
12class BlockLegacy;
13class ExpressionNode;
14class Mob;
15// clang-format on
16
17class EatBlockGoal : public ::Goal {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
22 ::ll::TypedStorage<4, 4, int> mTicksUntilEat;
23 ::ll::TypedStorage<4, 4, int> mTotalTicksUntilEat;
24 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnEat;
25 ::ll::TypedStorage<8, 24, ::std::vector<::ExpressionNode>> mSuccessChance;
26 ::ll::TypedStorage<8, 64, ::std::unordered_map<::BlockLegacy const*, ::BlockLegacy const*>>
27 mEatAndReplaceBlockPairs;
28 // NOLINTEND
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 // vIndex: 1
34 virtual bool canUse() /*override*/;
35
36 // vIndex: 4
37 virtual void start() /*override*/;
38
39 // vIndex: 5
40 virtual void stop() /*override*/;
41
42 // vIndex: 2
43 virtual bool canContinueToUse() /*override*/;
44
45 // vIndex: 6
46 virtual void tick() /*override*/;
47
48 // vIndex: 7
49 virtual void appendDebugInfo(::std::string& str) const /*override*/;
50
51 // vIndex: 0
52 virtual ~EatBlockGoal() /*override*/;
53 // NOLINTEND
54
55public:
56 // member functions
57 // NOLINTBEGIN
58 MCAPI float getEatSuccessChance(::Actor& owner) const;
59 // NOLINTEND
60
61public:
62 // destructor thunk
63 // NOLINTBEGIN
64 MCAPI void $dtor();
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCAPI bool $canUse();
71
72 MCAPI void $start();
73
74 MCFOLD void $stop();
75
76 MCAPI bool $canContinueToUse();
77
78 MCAPI void $tick();
79
80 MCAPI void $appendDebugInfo(::std::string& str) const;
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCAPI static void** $vftable();
87 // NOLINTEND
88};
Definition ActorDefinitionTrigger.h:5
Definition Actor.h:104
Definition BlockLegacy.h:88
Definition EatBlockGoal.h:17
Definition ExpressionNode.h:31
Definition Goal.h:14
Definition Mob.h:47