LeviLamina
Loading...
Searching...
No Matches
MoveOutdoorsGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/json_util/JsonSchemaObjectNode.h"
7#include "mc/world/actor/ai/goal/BaseGoalDefinition.h"
8#include "mc/world/actor/ai/goal/BaseMoveToBlockGoal.h"
9#include "mc/world/level/Tick.h"
10
11// auto generated forward declare list
12// clang-format off
13class BlockPos;
14class BlockSource;
15namespace JsonUtil { class EmptyClass; }
16// clang-format on
17
19public:
20 // MoveOutdoorsGoal inner types declare
21 // clang-format off
23 // clang-format on
24
25 // MoveOutdoorsGoal inner types define
27 public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<4, 4, float> mSpeedModifier;
31 ::ll::TypedStorage<4, 4, int> mSearchRange;
32 ::ll::TypedStorage<4, 4, int> mSearchHeight;
33 ::ll::TypedStorage<4, 4, int> mSearchCount;
34 ::ll::TypedStorage<4, 4, float> mGoalRadius;
35 ::ll::TypedStorage<4, 4, float> mTimeoutCooldown;
36 // NOLINTEND
37
38 public:
39 // virtual functions
40 // NOLINTBEGIN
41 virtual ~MoveOutdoorsDefinition() /*override*/ = default;
42 // NOLINTEND
43
44 public:
45 // static functions
46 // NOLINTBEGIN
47 MCAPI static void buildSchema(
48 ::std::string const& name,
49 ::std::shared_ptr<
51 root
52 );
53 // NOLINTEND
54
55 public:
56 // vftables
57 // NOLINTBEGIN
58 MCNAPI static void** $vftable();
59 // NOLINTEND
60 };
61
62public:
63 // member variables
64 // NOLINTBEGIN
65 ::ll::TypedStorage<4, 40, ::MoveOutdoorsGoal::MoveOutdoorsDefinition> mDefinition;
66 ::ll::TypedStorage<8, 8, ::Tick> mNextTargetTick;
67 // NOLINTEND
68
69public:
70 // virtual functions
71 // NOLINTBEGIN
72 virtual void start() /*override*/;
73
74 virtual bool canUse() /*override*/;
75
76 virtual bool isValidTarget(::BlockSource& region, ::BlockPos const& pos) /*override*/;
77
78 virtual void tick() /*override*/;
79
80 virtual void appendDebugInfo(::std::string& str) const /*override*/;
81
82 virtual ~MoveOutdoorsGoal() /*override*/ = default;
83 // NOLINTEND
84
85public:
86 // member functions
87 // NOLINTBEGIN
88 MCAPI void _setNextTargetTick();
89 // NOLINTEND
90
91public:
92 // static functions
93 // NOLINTBEGIN
94 MCAPI static bool mobHasClearSpaceAbove(::BlockSource& region, ::BlockPos const& pos);
95 // NOLINTEND
96
97public:
98 // virtual function thunks
99 // NOLINTBEGIN
100 MCAPI void $start();
101
102 MCAPI bool $canUse();
103
104 MCAPI bool $isValidTarget(::BlockSource& region, ::BlockPos const& pos);
105
106 MCAPI void $tick();
107
108 MCAPI void $appendDebugInfo(::std::string& str) const;
109
110
111 // NOLINTEND
112
113public:
114 // vftables
115 // NOLINTBEGIN
116 MCNAPI static void** $vftable();
117 // NOLINTEND
118};
Definition BaseGoalDefinition.h:10
Definition BaseMoveToBlockGoal.h:8
Definition BlockPos.h:19
Definition BlockSource.h:68
Definition EmptyClass.h:7
Definition JsonSchemaObjectNode.h:8
Definition MoveOutdoorsGoal.h:26
Definition MoveOutdoorsGoal.h:18
static MCAPI void ** $vftable()