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