LeviLamina
Loading...
Searching...
No Matches
TakeFlowerGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7#include "mc/deps/ecs/WeakEntityRef.h"
8#include "mc/util/json_util/JsonSchemaObjectNode.h"
9#include "mc/world/actor/ActorDefinitionTrigger.h"
10#include "mc/world/actor/ActorFilterGroup.h"
11#include "mc/world/actor/ai/goal/BaseGoalDefinition.h"
12#include "mc/world/actor/ai/goal/Goal.h"
13
14// auto generated forward declare list
15// clang-format off
16class Mob;
17namespace JsonUtil { class EmptyClass; }
18// clang-format on
19
20class TakeFlowerGoal : public ::Goal {
21public:
22 // TakeFlowerGoal inner types declare
23 // clang-format off
25 // clang-format on
26
27 // TakeFlowerGoal inner types define
29 public:
30 // member variables
31 // NOLINTBEGIN
32 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mFilters;
33 ::ll::TypedStorage<4, 4, float> mSpeedModifier;
34 ::ll::TypedStorage<4, 4, float> mMinPickupFlowerWaitSeconds;
35 ::ll::TypedStorage<4, 4, float> mMaxPickupFlowerWaitSeconds;
36 ::ll::TypedStorage<4, 12, ::Vec3> mSearchArea;
37 ::ll::TypedStorage<4, 4, float> mMaxRotationX;
38 ::ll::TypedStorage<4, 4, float> mMaxHeadRotationY;
39 ::ll::TypedStorage<4, 4, float> mMinDistanceToTarget;
40 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnTakeFlower;
41 // NOLINTEND
42
43 public:
44 // virtual functions
45 // NOLINTBEGIN
46 // vIndex: 0
47 virtual ~TakeFlowerDefinition() /*override*/ = default;
48 // NOLINTEND
49
50 public:
51 // static functions
52 // NOLINTBEGIN
53 MCAPI static void buildSchema(
54 ::std::string const& name,
55 ::std::shared_ptr<
57 );
58 // NOLINTEND
59
60 public:
61 // vftables
62 // NOLINTBEGIN
63 MCNAPI static void** $vftable();
64 // NOLINTEND
65 };
66
67public:
68 // member variables
69 // NOLINTBEGIN
70 ::ll::TypedStorage<4, 4, float> mSpeedModifier;
71 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mFilters;
72 ::ll::TypedStorage<4, 4, float> mMinPickupFlowerWaitTicks;
73 ::ll::TypedStorage<4, 4, float> mMaxPickupFlowerWaitTicks;
74 ::ll::TypedStorage<4, 12, ::Vec3> mSearchArea;
75 ::ll::TypedStorage<4, 4, float> mMaxRotationX;
76 ::ll::TypedStorage<4, 4, float> mMaxHeadRotationY;
77 ::ll::TypedStorage<4, 4, float> mMinDistanceToTargetSquared;
78 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnTakeFlower;
79 ::ll::TypedStorage<4, 4, int> mPickupFlowerTick;
80 ::ll::TypedStorage<1, 1, bool> mTakeFlower;
81 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
82 ::ll::TypedStorage<8, 24, ::WeakEntityRef> mOfferFlowerMob;
83 // NOLINTEND
84
85public:
86 // prevent constructor by default
87 TakeFlowerGoal& operator=(TakeFlowerGoal const&);
90
91public:
92 // virtual functions
93 // NOLINTBEGIN
94 // vIndex: 1
95 virtual bool canUse() /*override*/;
96
97 // vIndex: 2
98 virtual bool canContinueToUse() /*override*/;
99
100 // vIndex: 4
101 virtual void start() /*override*/;
102
103 // vIndex: 5
104 virtual void stop() /*override*/;
105
106 // vIndex: 6
107 virtual void tick() /*override*/;
108
109 // vIndex: 7
110 virtual void appendDebugInfo(::std::string& str) const /*override*/;
111
112 // vIndex: 0
113 virtual ~TakeFlowerGoal() /*override*/ = default;
114 // NOLINTEND
115
116public:
117 // virtual function thunks
118 // NOLINTBEGIN
119 MCAPI bool $canUse();
120
121 MCAPI bool $canContinueToUse();
122
123 MCAPI void $start();
124
125 MCAPI void $stop();
126
127 MCAPI void $tick();
128
129 MCAPI void $appendDebugInfo(::std::string& str) const;
130 // NOLINTEND
131
132public:
133 // vftables
134 // NOLINTBEGIN
135 MCNAPI static void** $vftable();
136 // NOLINTEND
137};
Definition BaseGoalDefinition.h:10
Definition Goal.h:14
Definition JsonSchemaObjectNode.h:8
Definition Mob.h:47
Definition TakeFlowerGoal.h:28
static MCAPI void ** $vftable()
Definition TakeFlowerGoal.h:20
static MCAPI void ** $vftable()