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