LeviLamina
Loading...
Searching...
No Matches
EnderMan.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
7#include "mc/world/actor/monster/Monster.h"
8
9// auto generated forward declare list
10// clang-format off
14class Block;
15class CompoundTag;
16class DataLoadHelper;
17class EntityContext;
20namespace mce { class UUID; }
21// clang-format on
22
23class EnderMan : public ::Monster {
24public:
25 // member variables
26 // NOLINTBEGIN
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 EnderMan& operator=(EnderMan const&);
36 EnderMan(EnderMan const&);
37 EnderMan();
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 // vIndex: 24
43 virtual void normalTick() /*override*/;
44
45 // vIndex: 175
46 virtual void newServerAiStep() /*override*/;
47
48 // vIndex: 144
49 virtual void hurtEffects(::ActorDamageSource const& source, float damage, bool knock, bool ignite) /*override*/;
50
51 // vIndex: 106
52 virtual bool canBeAffectedByArrow(::MobEffectInstance const& effect) const /*override*/;
53
54 // vIndex: 63
55 virtual ::SharedTypes::Legacy::LevelSoundEvent getAmbientSound() const /*override*/;
56
57 // vIndex: 135
58 virtual bool _hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite) /*override*/;
59
60 // vIndex: 137
61 virtual void addAdditionalSaveData(::CompoundTag& tag) const /*override*/;
62
63 // vIndex: 136
64 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
65
66 // vIndex: 8
67 virtual ~EnderMan() /*override*/ = default;
68 // NOLINTEND
69
70public:
71 // member functions
72 // NOLINTBEGIN
73 MCAPI EnderMan(
74 ::ActorDefinitionGroup* definitions,
75 ::ActorDefinitionIdentifier const& definitionName,
76 ::EntityContext& entityContext
77 );
78
79 MCAPI ::Block const& getCarryingBlock() const;
80
81 MCAPI void setCarryingBlock(::Block const& block);
82 // NOLINTEND
83
84public:
85 // static variables
86 // NOLINTBEGIN
87 MCAPI static ::std::shared_ptr<::AttributeModifier>& SPEED_MODIFIER_ATTACKING();
88
89 MCAPI static ::mce::UUID const& SPEED_MODIFIER_ATTACKING_UUID();
90
91 MCAPI static ::std::set<::Block const*>& mMayTake();
92
93 MCAPI static bool& mMayTakeIsSetup();
94 // NOLINTEND
95
96public:
97 // constructor thunks
98 // NOLINTBEGIN
99 MCAPI void* $ctor(
100 ::ActorDefinitionGroup* definitions,
101 ::ActorDefinitionIdentifier const& definitionName,
102 ::EntityContext& entityContext
103 );
104 // NOLINTEND
105
106public:
107 // destructor thunk
108 // NOLINTBEGIN
109
110 // NOLINTEND
111
112public:
113 // virtual function thunks
114 // NOLINTBEGIN
115 MCAPI void $normalTick();
116
117 MCAPI void $newServerAiStep();
118
119 MCAPI void $hurtEffects(::ActorDamageSource const& source, float damage, bool knock, bool ignite);
120
121 MCFOLD bool $canBeAffectedByArrow(::MobEffectInstance const& effect) const;
122
123 MCAPI ::SharedTypes::Legacy::LevelSoundEvent $getAmbientSound() const;
124
125 MCAPI bool $_hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite);
126
127 MCAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
128
129 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
130 // NOLINTEND
131
132public:
133 // vftables
134 // NOLINTBEGIN
135 MCAPI static void** $vftable();
136 // NOLINTEND
137};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:27
Definition AttributeModifier.h:14
Definition Block.h:36
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition EnderMan.h:23
Definition EntityContext.h:16
Definition MobEffectInstance.h:15
Definition Monster.h:19
Definition ActorDefinitionIdentifier.h:13
Definition Alias.h:14