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 virtual ~OfferFlowerDefinition() /*override*/ = default;
44 // NOLINTEND
45
46 public:
47 // static functions
48 // NOLINTBEGIN
49 MCAPI static void buildSchema(
50 ::std::string const& name,
51 ::std::shared_ptr<
53 root
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> mMaxOfferFlowerDurationTicks;
68 ::ll::TypedStorage<4, 4, float> mChanceToStart;
69 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mFilters;
70 ::ll::TypedStorage<4, 12, ::Vec3> mSearchArea;
71 ::ll::TypedStorage<4, 4, float> mMaxRotationX;
72 ::ll::TypedStorage<4, 4, float> mMaxHeadRotationY;
73 ::ll::TypedStorage<8, 24, ::WeakEntityRef> mTakeFlowerMob;
74 ::ll::TypedStorage<8, 8, ::Tick> mTimeoutTick;
75 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
76 // NOLINTEND
77
78public:
79 // prevent constructor by default
80 OfferFlowerGoal& operator=(OfferFlowerGoal const&);
81 OfferFlowerGoal(OfferFlowerGoal const&);
82 OfferFlowerGoal();
83
84public:
85 // virtual functions
86 // NOLINTBEGIN
87 virtual bool canUse() /*override*/;
88
89 virtual bool canContinueToUse() /*override*/;
90
91 virtual void start() /*override*/;
92
93 virtual void stop() /*override*/;
94
95 virtual void tick() /*override*/;
96
97 virtual void appendDebugInfo(::std::string& str) const /*override*/;
98
99 virtual ~OfferFlowerGoal() /*override*/ = default;
100 // NOLINTEND
101
102public:
103 // virtual function thunks
104 // NOLINTBEGIN
105 MCAPI bool $canUse();
106
107 MCAPI bool $canContinueToUse();
108
109 MCAPI void $start();
110
111 MCAPI void $stop();
112
113 MCAPI void $tick();
114
115 MCAPI void $appendDebugInfo(::std::string& str) const;
116
117
118 // NOLINTEND
119
120public:
121 // vftables
122 // NOLINTBEGIN
123 MCNAPI static void** $vftable();
124 // NOLINTEND
125};
Definition BaseGoalDefinition.h:10
Definition Goal.h:14
Definition EmptyClass.h:7
Definition JsonSchemaObjectNode.h:8
Definition Mob.h:50
Definition OfferFlowerGoal.h:28
static MCAPI void ** $vftable()