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/deps/shared_types/v1_26_20/block/MaterialType.h"
8#include "mc/world/actor/ai/goal/BaseGoal.h"
9
10// auto generated forward declare list
11// clang-format off
12class Mob;
13// clang-format on
14
15class SwimUpForBreathGoal : public ::BaseGoal {
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<1, 1, ::SharedTypes::v1_26_20::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 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCAPI explicit SwimUpForBreathGoal(::Mob& mob);
55
56 MCAPI int _determineApproximateLiquidDepthOfMob() const;
57
58 MCAPI void _findAirPosition();
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
64 MCAPI void* $ctor(::Mob& mob);
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCAPI bool $canUse();
71
72 MCAPI bool $canContinueToUse();
73
74 MCFOLD bool $canBeInterrupted();
75
76 MCAPI void $start();
77
78 MCAPI void $tick();
79
80 MCAPI void $appendDebugInfo(::std::string& str) const;
81
82
83 // NOLINTEND
84
85public:
86 // vftables
87 // NOLINTBEGIN
88 MCNAPI static void** $vftable();
89 // NOLINTEND
90};
Definition Mob.h:57
static MCAPI void ** $vftable()