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#include "mc/world/level/block/NewBlockID.h"
9
10// auto generated forward declare list
11// clang-format off
14class ActorHurtResult;
15class CompoundTag;
16class DataLoadHelper;
17class EntityContext;
21// clang-format on
22
23class EnderMan : public ::Monster {
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<1, 1, bool> mAggroedByPlayer;
28 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CompoundTag>> mCarryBlockSerId;
29 ::ll::TypedStorage<2, 2, ::NewBlockID> mCarryBlockId;
30 ::ll::TypedStorage<2, 2, ushort> mCarryBlockData;
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 EnderMan();
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual void normalTick() /*override*/;
41
42 virtual void newServerAiStep() /*override*/;
43
44 virtual void
45 hurtEffects(::ActorDamageSource const& source, float damage, ::HurtEffectsSettings const& settings) /*override*/;
46
47 virtual bool canBeAffectedByArrow(::MobEffectInstance const& effect) const /*override*/;
48
49 virtual ::SharedTypes::Legacy::LevelSoundEvent getAmbientSound() const /*override*/;
50
51 virtual ::ActorHurtResult
52 _hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite) /*override*/;
53
54 virtual void addAdditionalSaveData(::CompoundTag& tag) const /*override*/;
55
56 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
57 // NOLINTEND
58
59public:
60 // member functions
61 // NOLINTBEGIN
62 MCAPI EnderMan(
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 // virtual function thunks
81 // NOLINTBEGIN
82 MCAPI void $normalTick();
83
84 MCAPI void $newServerAiStep();
85
86 MCAPI void $hurtEffects(::ActorDamageSource const& source, float damage, ::HurtEffectsSettings const& settings);
87
88 MCFOLD bool $canBeAffectedByArrow(::MobEffectInstance const& effect) const;
89
90 MCAPI ::SharedTypes::Legacy::LevelSoundEvent $getAmbientSound() const;
91
92 MCAPI ::ActorHurtResult $_hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite);
93
94 MCFOLD void $addAdditionalSaveData(::CompoundTag& tag) const;
95
96 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
97
98
99 // NOLINTEND
100
101public:
102 // vftables
103 // NOLINTBEGIN
104 MCAPI static void** $vftable();
105 // NOLINTEND
106};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:37
Definition ActorHurtResult.h:5
Definition CompoundTag.h:23
Definition DataLoadHelper.h:20
Definition EntityContext.h:17
Definition MobEffectInstance.h:20
Definition ActorDefinitionIdentifier.h:15
Definition HurtEffectsSettings.h:5