LeviLamina
Loading...
Searching...
No Matches
Monster.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/legacy/ActorUniqueID.h"
7#include "mc/world/actor/Mob.h"
8
9// auto generated forward declare list
10// clang-format off
13class BlockPos;
14class CompoundTag;
15class DataLoadHelper;
16class EntityContext;
18// clang-format on
19
20class Monster : public ::Mob {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mLastHurtByMobId;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 Monster();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 24
35 virtual void normalTick() /*override*/;
36
37 // vIndex: 178
38 virtual bool isDarkEnoughToSpawn() const;
39
40 // vIndex: 148
41 virtual bool checkSpawnRules(bool fromSpawner) /*override*/;
42
43 // vIndex: 172
44 virtual float _getWalkTargetValue(::BlockPos const& pos) /*override*/;
45
46 // vIndex: 135
47 virtual bool _hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite) /*override*/;
48
49 // vIndex: 137
50 virtual void addAdditionalSaveData(::CompoundTag& tag) const /*override*/;
51
52 // vIndex: 136
53 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
54
55 // vIndex: 8
56 virtual ~Monster() /*override*/;
57 // NOLINTEND
58
59public:
60 // member functions
61 // NOLINTBEGIN
62 MCAPI Monster(
63 ::ActorDefinitionGroup* definitions,
64 ::ActorDefinitionIdentifier const& definitionName,
65 ::EntityContext& entityContext
66 );
67 // NOLINTEND
68
69public:
70 // constructor thunks
71 // NOLINTBEGIN
72 MCAPI void* $ctor(
73 ::ActorDefinitionGroup* definitions,
74 ::ActorDefinitionIdentifier const& definitionName,
75 ::EntityContext& entityContext
76 );
77 // NOLINTEND
78
79public:
80 // destructor thunk
81 // NOLINTBEGIN
82 MCFOLD void $dtor();
83 // NOLINTEND
84
85public:
86 // virtual function thunks
87 // NOLINTBEGIN
88 MCAPI void $normalTick();
89
90 MCAPI bool $isDarkEnoughToSpawn() const;
91
92 MCFOLD bool $checkSpawnRules(bool fromSpawner);
93
94 MCAPI float $_getWalkTargetValue(::BlockPos const& pos);
95
96 MCAPI bool $_hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite);
97
98 MCAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
99
100 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
101 // NOLINTEND
102
103public:
104 // vftables
105 // NOLINTBEGIN
106 MCAPI static void** $vftable();
107 // NOLINTEND
108};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:35
Definition BlockPos.h:17
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition EntityContext.h:16
Definition Mob.h:47
Definition Monster.h:20
Definition ActorDefinitionIdentifier.h:15