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
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 MCNAPI static void buildSchema(
57 ::std::string const& name,
58 ::std::shared_ptr<
60 root
61 );
62 // NOLINTEND
63
64 public:
65 // vftables
66 // NOLINTBEGIN
67 MCNAPI static void** $vftable();
68 // NOLINTEND
69 };
70
71public:
72 // member variables
73 // NOLINTBEGIN
74 ::ll::TypedStorage<4, 4, int> mMaxOfferFlowerDurationTicks;
75 ::ll::TypedStorage<4, 4, float> mChanceToStart;
76 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mFilters;
77 ::ll::TypedStorage<4, 12, ::Vec3> mSearchArea;
78 ::ll::TypedStorage<4, 4, float> mMaxRotationX;
79 ::ll::TypedStorage<4, 4, float> mMaxHeadRotationY;
80 ::ll::TypedStorage<8, 24, ::WeakEntityRef> mTakeFlowerMob;
81 ::ll::TypedStorage<8, 8, ::Tick> mTimeoutTick;
82 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
83 // NOLINTEND
84
85public:
86 // prevent constructor by default
87 OfferFlowerGoal& operator=(OfferFlowerGoal 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 ~OfferFlowerGoal() /*override*/ = default;
114 // NOLINTEND
115
116public:
117 // virtual function thunks
118 // NOLINTBEGIN
119 MCNAPI bool $canUse();
120
121 MCNAPI bool $canContinueToUse();
122
123 MCNAPI void $start();
124
125 MCNAPI void $stop();
126
127 MCNAPI void $tick();
128
129 MCNAPI 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 OfferFlowerGoal.h:28
static MCAPI void buildSchema(::std::string const &name, ::std::shared_ptr< ::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::OfferFlowerGoal::OfferFlowerDefinition > > &root)
Definition OfferFlowerGoal.h:20
MCAPI bool $canContinueToUse()
MCAPI void $start()
MCAPI void $stop()
MCAPI void $tick()
MCAPI void $appendDebugInfo(::std::string &str) const
MCAPI bool $canUse()
static MCAPI void ** $vftable()
Definition Alias.h:14