LeviLamina
Loading...
Searching...
No Matches
SneezeGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
7#include "mc/world/actor/ai/goal/Goal.h"
8
9// auto generated forward declare list
10// clang-format off
11class Mob;
12struct MobDescriptor;
13// clang-format on
14
15class SneezeGoal : public ::Goal {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 4, int> mCooldown;
20 ::ll::TypedStorage<4, 4, int> mCooldownTimer;
21 ::ll::TypedStorage<4, 4, float> mProbability;
22 ::ll::TypedStorage<4, 4, int> mPreSneezeTimer;
23 ::ll::TypedStorage<4, 4, float> mDropItemChance;
24 ::ll::TypedStorage<8, 32, ::std::string> mLootTable;
25 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mSneezeSound;
26 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mPreSneezeSound;
27 ::ll::TypedStorage<4, 4, float> mPrepareTime;
28 ::ll::TypedStorage<8, 24, ::std::vector<::MobDescriptor> const> mReactMobFilters;
29 ::ll::TypedStorage<4, 4, float> mReactWithin;
30 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 SneezeGoal& operator=(SneezeGoal const&);
36 SneezeGoal(SneezeGoal const&);
37 SneezeGoal();
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 virtual bool canUse() /*override*/;
43
44 virtual bool canContinueToUse() /*override*/;
45
46 virtual void start() /*override*/;
47
48 virtual void stop() /*override*/;
49
50 virtual void tick() /*override*/;
51
52 virtual void appendDebugInfo(::std::string& str) const /*override*/;
53
54 virtual ~SneezeGoal() /*override*/ = default;
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCAPI bool $canUse();
61
62 MCAPI bool $canContinueToUse();
63
64 MCAPI void $start();
65
66 MCAPI void $stop();
67
68 MCAPI void $tick();
69
70 MCAPI void $appendDebugInfo(::std::string& str) const;
71
72
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCNAPI static void** $vftable();
79 // NOLINTEND
80};
Definition Goal.h:14
Definition Mob.h:50
static MCAPI void ** $vftable()
Definition MobDescriptor.h:8