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/math/Vec3.h"
7#include "mc/deps/ecs/WeakEntityRef.h"
8#include "mc/util/json_util/JsonSchemaObjectNode.h"
9#include "mc/world/actor/ActorFilterGroup.h"
10#include "mc/world/actor/ai/goal/BaseGoalDefinition.h"
11#include "mc/world/actor/ai/goal/Goal.h"
12#include "mc/world/level/Tick.h"
13
14// auto generated forward declare list
15// clang-format off
16class Mob;
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
32 ::ll::TypedStorage<4, 4, float> mMaxOfferFlowerDurationSeconds;
33 ::ll::TypedStorage<4, 4, float> mChanceToStart;
34 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mFilters;
35 ::ll::TypedStorage<4, 12, ::Vec3> mSearchArea;
36 ::ll::TypedStorage<4, 4, float> mMaxRotationX;
37 ::ll::TypedStorage<4, 4, float> mMaxHeadRotationY;
38 // NOLINTEND
39
40 public:
41 // virtual functions
42 // NOLINTBEGIN
43 // vIndex: 0
44 virtual ~OfferFlowerDefinition() /*override*/ = default;
45 // NOLINTEND
46
47 public:
48 // static functions
49 // NOLINTBEGIN
50 MCAPI static void buildSchema(
51 ::std::string const& name,
52 ::std::shared_ptr<
54 root
55 );
56 // NOLINTEND
57
58 public:
59 // vftables
60 // NOLINTBEGIN
61 MCNAPI static void** $vftable();
62 // NOLINTEND
63 };
64
65public:
66 // member variables
67 // NOLINTBEGIN
68 ::ll::TypedStorage<4, 4, int> mMaxOfferFlowerDurationTicks;
69 ::ll::TypedStorage<4, 4, float> mChanceToStart;
70 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mFilters;
71 ::ll::TypedStorage<4, 12, ::Vec3> mSearchArea;
72 ::ll::TypedStorage<4, 4, float> mMaxRotationX;
73 ::ll::TypedStorage<4, 4, float> mMaxHeadRotationY;
74 ::ll::TypedStorage<8, 24, ::WeakEntityRef> mTakeFlowerMob;
75 ::ll::TypedStorage<8, 8, ::Tick> mTimeoutTick;
76 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
77 // NOLINTEND
78
79public:
80 // prevent constructor by default
81 OfferFlowerGoal& operator=(OfferFlowerGoal const&);
84
85public:
86 // virtual functions
87 // NOLINTBEGIN
88 // vIndex: 1
89 virtual bool canUse() /*override*/;
90
91 // vIndex: 2
92 virtual bool canContinueToUse() /*override*/;
93
94 // vIndex: 4
95 virtual void start() /*override*/;
96
97 // vIndex: 5
98 virtual void stop() /*override*/;
99
100 // vIndex: 6
101 virtual void tick() /*override*/;
102
103 // vIndex: 7
104 virtual void appendDebugInfo(::std::string& str) const /*override*/;
105
106 // vIndex: 0
107 virtual ~OfferFlowerGoal() /*override*/ = default;
108 // NOLINTEND
109
110public:
111 // virtual function thunks
112 // NOLINTBEGIN
113 MCAPI bool $canUse();
114
115 MCAPI bool $canContinueToUse();
116
117 MCAPI void $start();
118
119 MCAPI void $stop();
120
121 MCAPI void $tick();
122
123 MCAPI void $appendDebugInfo(::std::string& str) const;
124 // NOLINTEND
125
126public:
127 // vftables
128 // NOLINTBEGIN
129 MCNAPI static void** $vftable();
130 // NOLINTEND
131};
Definition BaseGoalDefinition.h:10
Definition Goal.h:14
Definition JsonSchemaObjectNode.h:8
Definition Mob.h:47
Definition OfferFlowerGoal.h:28
Definition OfferFlowerGoal.h:20
static MCAPI void ** $vftable()