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
36 // NOLINTEND
37
38 public:
39 // prevent constructor by default
43
44 public:
45 // virtual functions
46 // NOLINTBEGIN
47 // vIndex: 0
48 virtual ~MoveOutdoorsDefinition() /*override*/ = default;
49 // NOLINTEND
50
51 public:
52 // static functions
53 // NOLINTBEGIN
54 MCNAPI static void buildSchema(
55 ::std::string const& name,
56 ::std::shared_ptr<
58 root
59 );
60 // NOLINTEND
61
62 public:
63 // vftables
64 // NOLINTBEGIN
65 MCNAPI static void** $vftable();
66 // NOLINTEND
67 };
68
69public:
70 // member variables
71 // NOLINTBEGIN
72 ::ll::TypedStorage<4, 40, ::MoveOutdoorsGoal::MoveOutdoorsDefinition> mDefinition;
73 ::ll::TypedStorage<8, 8, ::Tick> mNextTargetTick;
74 // NOLINTEND
75
76public:
77 // virtual functions
78 // NOLINTBEGIN
79 // vIndex: 4
80 virtual void start() /*override*/;
81
82 // vIndex: 1
83 virtual bool canUse() /*override*/;
84
85 // vIndex: 11
86 virtual bool isValidTarget(::BlockSource& region, ::BlockPos const& pos) /*override*/;
87
88 // vIndex: 6
89 virtual void tick() /*override*/;
90
91 // vIndex: 7
92 virtual void appendDebugInfo(::std::string& str) const /*override*/;
93
94 // vIndex: 0
95 virtual ~MoveOutdoorsGoal() /*override*/ = default;
96 // NOLINTEND
97
98public:
99 // member functions
100 // NOLINTBEGIN
101 MCNAPI void _setNextTargetTick();
102 // NOLINTEND
103
104public:
105 // static functions
106 // NOLINTBEGIN
107 MCNAPI static bool mobHasClearSpaceAbove(::BlockSource& region, ::BlockPos const& pos);
108 // NOLINTEND
109
110public:
111 // virtual function thunks
112 // NOLINTBEGIN
113 MCNAPI void $start();
114
115 MCNAPI bool $canUse();
116
117 MCNAPI bool $isValidTarget(::BlockSource& region, ::BlockPos const& pos);
118
119 MCNAPI void $tick();
120
121 MCNAPI void $appendDebugInfo(::std::string& str) const;
122 // NOLINTEND
123
124public:
125 // vftables
126 // NOLINTBEGIN
127 MCNAPI static void** $vftable();
128 // NOLINTEND
129};
Definition BaseGoalDefinition.h:10
Definition BaseMoveToBlockGoal.h:13
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition JsonSchemaObjectNode.h:8
Definition MoveOutdoorsGoal.h:26
static MCAPI void buildSchema(::std::string const &name, ::std::shared_ptr< ::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::MoveOutdoorsGoal::MoveOutdoorsDefinition > > &root)
Definition MoveOutdoorsGoal.h:18
MCAPI void $appendDebugInfo(::std::string &str) const
MCAPI bool $canUse()
MCAPI bool $isValidTarget(::BlockSource &region, ::BlockPos const &pos)
MCAPI void $start()
MCAPI void _setNextTargetTick()
static MCAPI bool mobHasClearSpaceAbove(::BlockSource &region, ::BlockPos const &pos)
MCAPI void $tick()
static MCAPI void ** $vftable()
Definition Alias.h:14