LeviLamina
Loading...
Searching...
No Matches
StayNearNoteblockGoal.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/Goal.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockPos;
13class Mob;
14namespace JsonUtil { class EmptyClass; }
15// clang-format on
16
18public:
19 // StayNearNoteblockGoal inner types declare
20 // clang-format off
21 class Definition;
22 // clang-format on
23
24 // StayNearNoteblockGoal inner types define
26 public:
27 // member variables
28 // NOLINTBEGIN
33 // NOLINTEND
34
35 public:
36 // prevent constructor by default
37 Definition& operator=(Definition const&);
38 Definition(Definition const&);
39 Definition();
40
41 public:
42 // virtual functions
43 // NOLINTBEGIN
44 // vIndex: 0
45 virtual ~Definition() /*override*/ = default;
46 // NOLINTEND
47
48 public:
49 // static functions
50 // NOLINTBEGIN
51 MCNAPI static void buildSchema(
52 ::std::string const& name,
53 ::std::shared_ptr<
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<8, 8, ::Mob&> mMob;
69 ::ll::TypedStorage<4, 32, ::StayNearNoteblockGoal::Definition> mDefinition;
70 ::ll::TypedStorage<4, 4, int> mTimeToRecalcPath;
71 // NOLINTEND
72
73public:
74 // prevent constructor by default
78
79public:
80 // virtual functions
81 // NOLINTBEGIN
82 // vIndex: 1
83 virtual bool canUse() /*override*/;
84
85 // vIndex: 2
86 virtual bool canContinueToUse() /*override*/;
87
88 // vIndex: 4
89 virtual void start() /*override*/;
90
91 // vIndex: 5
92 virtual void stop() /*override*/;
93
94 // vIndex: 6
95 virtual void tick() /*override*/;
96
97 // vIndex: 7
98 virtual void appendDebugInfo(::std::string& str) const /*override*/;
99
100 // vIndex: 0
101 virtual ~StayNearNoteblockGoal() /*override*/ = default;
102 // NOLINTEND
103
104public:
105 // member functions
106 // NOLINTBEGIN
107 MCNAPI ::std::optional<::BlockPos> const _hasLastVibrationAtNoteblock();
108 // NOLINTEND
109
110public:
111 // virtual function thunks
112 // NOLINTBEGIN
113 MCNAPI bool $canUse();
114
115 MCNAPI bool $canContinueToUse();
116
117 MCNAPI void $start();
118
119 MCNAPI void $stop();
120
121 MCNAPI void $tick();
122
123 MCNAPI 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 BlockPos.h:18
Definition Goal.h:14
Definition JsonSchemaObjectNode.h:8
Definition Mob.h:47
Definition StayNearNoteblockGoal.h:25
static MCAPI void buildSchema(::std::string const &name, ::std::shared_ptr< ::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::StayNearNoteblockGoal::Definition > > &root)
static MCAPI void ** $vftable()
Definition StayNearNoteblockGoal.h:17
MCAPI bool $canUse()
MCAPI ::std::optional<::BlockPos > const _hasLastVibrationAtNoteblock()
MCAPI void $appendDebugInfo(::std::string &str) const
MCAPI bool $canContinueToUse()
static MCAPI void ** $vftable()
Definition Alias.h:14