LeviLamina
Loading...
Searching...
No Matches
DoorInteractGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/Direction.h"
7#include "mc/world/actor/ai/goal/Goal.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockPos;
12class DoorBlock;
13class Mob;
14class Path;
15// clang-format on
16
17class DoorInteractGoal : public ::Goal {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 12, ::BlockPos> mDoorPos;
22 ::ll::TypedStorage<8, 8, ::DoorBlock const*> mDoorBlock;
23 ::ll::TypedStorage<1, 1, bool> mInitialToggledState;
24 ::ll::TypedStorage<1, 1, bool> mMobOversized;
25 ::ll::TypedStorage<1, 1, bool> mExited;
26 ::ll::TypedStorage<4, 4, float> mDoorOpenDirX;
27 ::ll::TypedStorage<4, 4, float> mDoorOpenDirZ;
28 ::ll::TypedStorage<1, 1, ::Direction::Type> mEnterDirection;
29 ::ll::TypedStorage<1, 1, ::Direction::Type> mExitDirection;
30 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
31 // NOLINTEND
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 0
37 virtual ~DoorInteractGoal() /*override*/ = default;
38
39 // vIndex: 1
40 virtual bool canUse() /*override*/;
41
42 // vIndex: 2
43 virtual bool canContinueToUse() /*override*/;
44
45 // vIndex: 4
46 virtual void start() /*override*/;
47
48 // vIndex: 6
49 virtual void tick() /*override*/;
50
51 // vIndex: 7
52 virtual void appendDebugInfo(::std::string& str) const /*override*/;
53 // NOLINTEND
54
55public:
56 // static functions
57 // NOLINTBEGIN
58 MCAPI static ::DoorBlock const* _findBlockingDoorAtPos(
59 ::BlockPos const& bpos,
60 ::Mob const& mob,
61 ::Path* path,
62 ::Direction::Type& dirIn,
63 ::Direction::Type& dirOut
64 );
65 // NOLINTEND
66
67public:
68 // destructor thunk
69 // NOLINTBEGIN
70
71 // NOLINTEND
72
73public:
74 // virtual function thunks
75 // NOLINTBEGIN
76 MCAPI bool $canUse();
77
78 MCAPI bool $canContinueToUse();
79
80 MCAPI void $start();
81
82 MCAPI void $tick();
83
84 MCAPI void $appendDebugInfo(::std::string& str) const;
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCAPI static void** $vftable();
91 // NOLINTEND
92};
Definition BlockPos.h:18
Definition DoorBlock.h:29
Definition DoorInteractGoal.h:17
Definition Goal.h:14
Definition Mob.h:47
Definition Path.h:16