LeviLamina
Loading...
Searching...
No Matches
OfferFlowerGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/json_utils/JsonSchemaObjectNode.h"
7#include "mc/world/actor/ai/goal/BaseGoalDefinition.h"
8#include "mc/world/actor/ai/goal/Goal.h"
9
10// auto generated forward declare list
11// clang-format off
13class Mob;
14class Vec3;
15class WeakEntityRef;
16struct Tick;
17namespace JsonUtil { class EmptyClass; }
18// clang-format on
19
20class OfferFlowerGoal : public ::Goal {
21public:
22 // OfferFlowerGoal inner types declare
23 // clang-format off
25 // clang-format on
26
27 // OfferFlowerGoal inner types define
29 public:
30 // member variables
31 // NOLINTBEGIN
38 // NOLINTEND
39
40 public:
41 // prevent constructor by default
45
46 public:
47 // virtual functions
48 // NOLINTBEGIN
49 // vIndex: 0
50 virtual ~OfferFlowerDefinition() /*override*/ = default;
51 // NOLINTEND
52
53 public:
54 // static functions
55 // NOLINTBEGIN
56 MCAPI static void buildSchema(
57 ::std::string const& name,
58 ::std::shared_ptr<
60 root
61 );
62 // NOLINTEND
63
64 public:
65 // destructor thunk
66 // NOLINTBEGIN
67
68 // NOLINTEND
69
70 public:
71 // vftables
72 // NOLINTBEGIN
73 MCAPI static void** $vftable();
74 // NOLINTEND
75 };
76
77public:
78 // member variables
79 // NOLINTBEGIN
80 ::ll::TypedStorage<4, 4, int> mMaxOfferFlowerDurationTicks;
81 ::ll::TypedStorage<4, 4, float> mChanceToStart;
82 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mFilters;
83 ::ll::TypedStorage<4, 12, ::Vec3> mSearchArea;
84 ::ll::TypedStorage<4, 4, float> mMaxRotationX;
85 ::ll::TypedStorage<4, 4, float> mMaxHeadRotationY;
86 ::ll::TypedStorage<8, 24, ::WeakEntityRef> mTakeFlowerMob;
87 ::ll::TypedStorage<8, 8, ::Tick> mTimeoutTick;
88 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
89 // NOLINTEND
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 ~OfferFlowerGoal() /*override*/ = default;
114 // NOLINTEND
115
116public:
117 // destructor thunk
118 // NOLINTBEGIN
119
120 // NOLINTEND
121
122public:
123 // virtual function thunks
124 // NOLINTBEGIN
125 MCAPI bool $canUse();
126
127 MCAPI bool $canContinueToUse();
128
129 MCAPI void $start();
130
131 MCAPI void $stop();
132
133 MCAPI void $tick();
134
135 MCAPI void $appendDebugInfo(::std::string& str) const;
136 // NOLINTEND
137
138public:
139 // vftables
140 // NOLINTBEGIN
141 MCAPI static void** $vftable();
142 // NOLINTEND
143};
Definition ActorFilterGroup.h:16
Definition BaseGoalDefinition.h:10
Definition Goal.h:14
Definition JsonSchemaObjectNode.h:8
Definition Mob.h:47
Definition OfferFlowerGoal.h:28
Definition OfferFlowerGoal.h:20
Definition Vec3.h:10
Definition WeakEntityRef.h:14
Definition Tick.h:5
Definition Alias.h:14