LeviLamina
Loading...
Searching...
No Matches
Bat.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/Mob.h"
8
9// auto generated forward declare list
10// clang-format off
13class CompoundTag;
14class DataLoadHelper;
15class EntityContext;
17// clang-format on
18
19class Bat : public ::Mob {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<1, 1, bool> mWasResting;
24 ::ll::TypedStorage<4, 12, ::Vec3> mTargetPosition;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 Bat();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 176
35 virtual void newServerAiStep() /*override*/;
36
37 // vIndex: 135
38 virtual bool _hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite) /*override*/;
39
40 // vIndex: 136
41 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
42
43 // vIndex: 137
44 virtual void addAdditionalSaveData(::CompoundTag& tag) const /*override*/;
45
46 // vIndex: 147
47 virtual void pushActors() /*override*/;
48
49 // vIndex: 8
50 virtual ~Bat() /*override*/ = default;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCAPI
57 Bat(::ActorDefinitionGroup* definitions,
58 ::ActorDefinitionIdentifier const& definitionName,
59 ::EntityContext& entityContext);
60
61 MCAPI void postNormalTick();
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCAPI void* $ctor(
68 ::ActorDefinitionGroup* definitions,
69 ::ActorDefinitionIdentifier const& definitionName,
70 ::EntityContext& entityContext
71 );
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77 MCAPI void $newServerAiStep();
78
79 MCAPI bool $_hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite);
80
81 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
82
83 MCAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
84
85 MCFOLD void $pushActors();
86 // NOLINTEND
87
88public:
89 // vftables
90 // NOLINTBEGIN
91 MCNAPI static void** $vftable();
92 // NOLINTEND
93};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:32
Definition Bat.h:19
static MCAPI void ** $vftable()
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition EntityContext.h:16
Definition Mob.h:47
Definition ActorDefinitionIdentifier.h:15