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/common/NewBlockID.h"
7#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
8#include "mc/world/actor/monster/Monster.h"
9
10// auto generated forward declare list
11// clang-format off
14class CompoundTag;
15class DataLoadHelper;
16class EntityContext;
19// clang-format on
20
21class EnderMan : public ::Monster {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<1, 1, bool> mAggroedByPlayer;
26 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CompoundTag>> mCarryBlockSerId;
27 ::ll::TypedStorage<2, 2, ::NewBlockID> mCarryBlockId;
28 ::ll::TypedStorage<2, 2, ushort> mCarryBlockData;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 EnderMan();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 // vIndex: 24
39 virtual void normalTick() /*override*/;
40
41 // vIndex: 176
42 virtual void newServerAiStep() /*override*/;
43
44 // vIndex: 144
45 virtual void hurtEffects(::ActorDamageSource const& source, float damage, bool knock, bool ignite) /*override*/;
46
47 // vIndex: 106
48 virtual bool canBeAffectedByArrow(::MobEffectInstance const& effect) const /*override*/;
49
50 // vIndex: 63
51 virtual ::SharedTypes::Legacy::LevelSoundEvent getAmbientSound() const /*override*/;
52
53 // vIndex: 135
54 virtual bool _hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite) /*override*/;
55
56 // vIndex: 137
57 virtual void addAdditionalSaveData(::CompoundTag& tag) const /*override*/;
58
59 // vIndex: 136
60 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
61
62 // vIndex: 8
63 virtual ~EnderMan() /*override*/ = default;
64 // NOLINTEND
65
66public:
67 // member functions
68 // NOLINTBEGIN
69 MCAPI EnderMan(
70 ::ActorDefinitionGroup* definitions,
71 ::ActorDefinitionIdentifier const& definitionName,
72 ::EntityContext& entityContext
73 );
74 // NOLINTEND
75
76public:
77 // constructor thunks
78 // NOLINTBEGIN
79 MCAPI void* $ctor(
80 ::ActorDefinitionGroup* definitions,
81 ::ActorDefinitionIdentifier const& definitionName,
82 ::EntityContext& entityContext
83 );
84 // NOLINTEND
85
86public:
87 // virtual function thunks
88 // NOLINTBEGIN
89 MCAPI void $normalTick();
90
91 MCAPI void $newServerAiStep();
92
93 MCAPI void $hurtEffects(::ActorDamageSource const& source, float damage, bool knock, bool ignite);
94
95 MCFOLD bool $canBeAffectedByArrow(::MobEffectInstance const& effect) const;
96
97 MCAPI ::SharedTypes::Legacy::LevelSoundEvent $getAmbientSound() const;
98
99 MCAPI bool $_hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite);
100
101 MCAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
102
103 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
104 // NOLINTEND
105
106public:
107 // vftables
108 // NOLINTBEGIN
109 MCNAPI static void** $vftable();
110 // NOLINTEND
111};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:35
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition EnderMan.h:21
static MCAPI void ** $vftable()
Definition EntityContext.h:16
Definition MobEffectInstance.h:15
Definition Monster.h:20
Definition ActorDefinitionIdentifier.h:15