Skip to content
LeviMC
English
AutoLightDark
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
55
56 MCNAPI void _findAirPosition();
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCNAPI bool $canUse();
63
64 MCNAPI bool $canContinueToUse();
65
66 MCNAPI bool $canBeInterrupted();
67
68 MCNAPI void $start();
69
70 MCNAPI void $tick();
71
72 MCNAPI void $appendDebugInfo(::std::string& str) const;
73
74
75 // NOLINTEND
76
77public:
78 // vftables
79 // NOLINTBEGIN
80 MCNAPI static void** $vftable();
81 // NOLINTEND
82};
Definition BaseGoal.h:12
Definition Mob.h:58
MCAPI void _findAirPosition()
MCAPI void $appendDebugInfo(::std::string &str) const
MCAPI bool $canBeInterrupted()
static MCAPI void ** $vftable()
MCAPI bool $canContinueToUse()
MCAPI void $start()
MCAPI void $tick()
MCAPI int _determineApproximateLiquidDepthOfMob() const
MCAPI bool $canUse()