LeviLamina
Loading...
Searching...
No Matches
SwimUpForBreathGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7#include "mc/world/actor/ai/goal/Goal.h"
8#include "mc/world/level/material/MaterialType.h"
9
10// auto generated forward declare list
11// clang-format off
12class Mob;
13// clang-format on
14
15class SwimUpForBreathGoal : public ::Goal {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 4, float> mSpeedMod;
20 ::ll::TypedStorage<4, 4, int> mSearchRadius;
21 ::ll::TypedStorage<4, 4, int> mSearchHeight;
22 ::ll::TypedStorage<4, 4, ::MaterialType> mMaterialType;
23 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
24 ::ll::TypedStorage<4, 12, ::Vec3> mWanted;
25 ::ll::TypedStorage<4, 4, int> mStartBreath;
26 ::ll::TypedStorage<1, 1, bool> mEndsInAir;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 SwimUpForBreathGoal& operator=(SwimUpForBreathGoal const&);
32 SwimUpForBreathGoal(SwimUpForBreathGoal const&);
33 SwimUpForBreathGoal();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual bool canUse() /*override*/;
39
40 virtual bool canContinueToUse() /*override*/;
41
42 virtual bool canBeInterrupted() /*override*/;
43
44 virtual void start() /*override*/;
45
46 virtual void tick() /*override*/;
47
48 virtual void appendDebugInfo(::std::string& str) const /*override*/;
49
50 virtual ~SwimUpForBreathGoal() /*override*/ = default;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCAPI int _determineApproximateLiquidDepthOfMob() const;
57
58 MCAPI void _findAirPosition();
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCAPI bool $canUse();
65
66 MCAPI bool $canContinueToUse();
67
68 MCFOLD bool $canBeInterrupted();
69
70 MCAPI void $start();
71
72 MCAPI void $tick();
73
74 MCAPI void $appendDebugInfo(::std::string& str) const;
75
76
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCNAPI static void** $vftable();
83 // NOLINTEND
84};
Definition Goal.h:14
Definition Mob.h:50
static MCAPI void ** $vftable()