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 virtual void newServerAiStep() /*override*/;
35
36 virtual bool _hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite) /*override*/;
37
38 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
39
40 virtual void addAdditionalSaveData(::CompoundTag& entityTag) const /*override*/;
41
42 virtual void pushActors() /*override*/;
43
44 virtual ~Bat() /*override*/ = default;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCAPI
51 Bat(::ActorDefinitionGroup* definitions,
52 ::ActorDefinitionIdentifier const& definitionName,
53 ::EntityContext& entityContext);
54
55 MCAPI void postNormalTick();
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCAPI void* $ctor(
62 ::ActorDefinitionGroup* definitions,
63 ::ActorDefinitionIdentifier const& definitionName,
64 ::EntityContext& entityContext
65 );
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCAPI void $newServerAiStep();
72
73 MCAPI bool $_hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite);
74
75 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
76
77 MCAPI void $addAdditionalSaveData(::CompoundTag& entityTag) const;
78
79 MCFOLD void $pushActors();
80
81
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCNAPI static void** $vftable();
88 // NOLINTEND
89};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:35
static MCAPI void ** $vftable()
Definition CompoundTag.h:23
Definition DataLoadHelper.h:20
Definition EntityContext.h:16
Definition ActorDefinitionIdentifier.h:15