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