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/ActorDefinitionTrigger.h"
7#include "mc/world/actor/ai/goal/Goal.h"
8
9// auto generated forward declare list
10// clang-format off
11class 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 // prevent constructor by default
32 EatBlockGoal& operator=(EatBlockGoal const&);
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 // vIndex: 1
40 virtual bool canUse() /*override*/;
41
42 // vIndex: 4
43 virtual void start() /*override*/;
44
45 // vIndex: 5
46 virtual void stop() /*override*/;
47
48 // vIndex: 2
49 virtual bool canContinueToUse() /*override*/;
50
51 // vIndex: 6
52 virtual void tick() /*override*/;
53
54 // vIndex: 7
55 virtual void appendDebugInfo(::std::string& str) const /*override*/;
56
57 // vIndex: 0
58 virtual ~EatBlockGoal() /*override*/;
59 // NOLINTEND
60
61public:
62 // member functions
63 // NOLINTBEGIN
64 MCNAPI float getEatSuccessChance(::Actor& owner) const;
65 // NOLINTEND
66
67public:
68 // destructor thunk
69 // NOLINTBEGIN
70 MCNAPI void $dtor();
71 // NOLINTEND
72
73public:
74 // virtual function thunks
75 // NOLINTBEGIN
76 MCNAPI bool $canUse();
77
78 MCNAPI void $start();
79
80 MCNAPI void $stop();
81
82 MCNAPI bool $canContinueToUse();
83
84 MCNAPI void $tick();
85
86 MCNAPI void $appendDebugInfo(::std::string& str) const;
87 // NOLINTEND
88
89public:
90 // vftables
91 // NOLINTBEGIN
92 MCNAPI static void** $vftable();
93 // NOLINTEND
94};
Definition Actor.h:103
Definition BlockLegacy.h:88
Definition EatBlockGoal.h:17
MCAPI void $stop()
MCAPI void $start()
MCAPI void $dtor()
MCAPI bool $canContinueToUse()
MCAPI float getEatSuccessChance(::Actor &owner) const
MCAPI void $appendDebugInfo(::std::string &str) const
MCAPI void $tick()
static MCAPI void ** $vftable()
MCAPI bool $canUse()
Definition ExpressionNode.h:27
Definition Goal.h:14
Definition Mob.h:47