LeviLamina
Loading...
Searching...
No Matches
WallClimberPathNavigation.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ai/navigation/PathNavigation.h"
7#include "mc/world/level/BlockPos.h"
8
9// auto generated forward declare list
10// clang-format off
11class AABB;
12class Actor;
13class BlockSource;
14class Mob;
16class Path;
17class Vec3;
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<4, 12, ::BlockPos> mPathToPosition;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual void tick(::NavigationComponent& parent, ::Mob& mob) /*override*/;
31
32 virtual ::std::unique_ptr<::Path>
33 createPath(::NavigationComponent& parent, ::Mob& mob, ::Vec3 const& pos) /*override*/;
34
35 virtual ::std::unique_ptr<::Path>
36 createPath(::NavigationComponent& parent, ::Mob& mob, ::Actor const& target) /*override*/;
37
38 virtual bool moveTo(::NavigationComponent& parent, ::Mob& mob, ::Actor const& target, float speed) /*override*/;
39
40 virtual bool canUpdatePath(::Mob const& mob) const /*override*/;
41
42 virtual ~WallClimberPathNavigation() /*override*/ = default;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI bool _isInsideBorderBlock(::AABB const& aabb, ::BlockSource const& region, float grow) const;
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCAPI void $tick(::NavigationComponent& parent, ::Mob& mob);
55
56 MCAPI ::std::unique_ptr<::Path> $createPath(::NavigationComponent& parent, ::Mob& mob, ::Vec3 const& pos);
57
58 MCAPI ::std::unique_ptr<::Path> $createPath(::NavigationComponent& parent, ::Mob& mob, ::Actor const& target);
59
60 MCAPI bool $moveTo(::NavigationComponent& parent, ::Mob& mob, ::Actor const& target, float speed);
61
62 MCAPI bool $canUpdatePath(::Mob const& mob) const;
63
64
65 // NOLINTEND
66
67public:
68 // vftables
69 // NOLINTBEGIN
70 MCNAPI static void** $vftable();
71 // NOLINTEND
72};
Definition AABB.h:18
Definition Actor.h:105
Definition BlockSource.h:68
Definition Mob.h:50
Definition NavigationComponent.h:19
Definition PathNavigation.h:17
Definition Path.h:16
Definition Vec3.h:10
Definition WallClimberPathNavigation.h:20
static MCAPI void ** $vftable()