LeviLamina
Loading...
Searching...
No Matches
DrinkMilkGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/json_util/JsonSchemaObjectNode.h"
7#include "mc/world/actor/ActorFilterGroup.h"
8#include "mc/world/actor/ai/goal/BaseGoalDefinition.h"
9#include "mc/world/actor/ai/goal/Goal.h"
10#include "mc/world/level/Tick.h"
11
12// auto generated forward declare list
13// clang-format off
14class Mob;
15namespace JsonUtil { class EmptyClass; }
16// clang-format on
17
18class DrinkMilkGoal : public ::Goal {
19public:
20 // DrinkMilkGoal inner types declare
21 // clang-format off
23 // clang-format on
24
25 // DrinkMilkGoal inner types define
27 public:
28 // member variables
29 // NOLINTBEGIN
32 // NOLINTEND
33
34 public:
35 // prevent constructor by default
39
40 public:
41 // virtual functions
42 // NOLINTBEGIN
43 // vIndex: 0
44 virtual ~DrinkMilkDefinition() /*override*/ = default;
45 // NOLINTEND
46
47 public:
48 // static functions
49 // NOLINTBEGIN
50 MCNAPI static void buildSchema(
51 ::std::string const& name,
52 ::std::shared_ptr<
54 );
55 // NOLINTEND
56
57 public:
58 // vftables
59 // NOLINTBEGIN
60 MCNAPI static void** $vftable();
61 // NOLINTEND
62 };
63
64public:
65 // member variables
66 // NOLINTBEGIN
67 ::ll::TypedStorage<4, 4, int> mMaxCooldownTicks;
68 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mFilters;
69 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
70 ::ll::TypedStorage<8, 8, ::Tick> mNextStartTick;
71 ::ll::TypedStorage<8, 8, ::Tick> mFinishUsingItemTick;
72 // NOLINTEND
73
74public:
75 // prevent constructor by default
76 DrinkMilkGoal& operator=(DrinkMilkGoal const&);
79
80public:
81 // virtual functions
82 // NOLINTBEGIN
83 // vIndex: 1
84 virtual bool canUse() /*override*/;
85
86 // vIndex: 2
87 virtual bool canContinueToUse() /*override*/;
88
89 // vIndex: 4
90 virtual void start() /*override*/;
91
92 // vIndex: 5
93 virtual void stop() /*override*/;
94
95 // vIndex: 6
96 virtual void tick() /*override*/;
97
98 // vIndex: 7
99 virtual void appendDebugInfo(::std::string& str) const /*override*/;
100
101 // vIndex: 0
102 virtual ~DrinkMilkGoal() /*override*/ = default;
103 // NOLINTEND
104
105public:
106 // virtual function thunks
107 // NOLINTBEGIN
108 MCNAPI bool $canUse();
109
110 MCNAPI bool $canContinueToUse();
111
112 MCNAPI void $start();
113
114 MCNAPI void $stop();
115
116 MCNAPI void $tick();
117
118 MCNAPI void $appendDebugInfo(::std::string& str) const;
119 // NOLINTEND
120
121public:
122 // vftables
123 // NOLINTBEGIN
124 MCNAPI static void** $vftable();
125 // NOLINTEND
126};
Definition BaseGoalDefinition.h:10
Definition DrinkMilkGoal.h:26
static MCAPI void ** $vftable()
static MCAPI void buildSchema(::std::string const &name, ::std::shared_ptr< ::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::DrinkMilkGoal::DrinkMilkDefinition > > &root)
Definition DrinkMilkGoal.h:18
static MCAPI void ** $vftable()
MCAPI void $start()
MCAPI bool $canUse()
MCAPI void $appendDebugInfo(::std::string &str) const
MCAPI void $tick()
MCAPI bool $canContinueToUse()
MCAPI void $stop()
Definition Goal.h:14
Definition JsonSchemaObjectNode.h:8
Definition Mob.h:47
Definition Alias.h:14