LeviLamina
Loading...
Searching...
No Matches
PigZombie.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/monster/Zombie.h"
7
8// auto generated forward declare list
9// clang-format off
12class ActorHurtResult;
13class CompoundTag;
14class DataLoadHelper;
15class EntityContext;
17struct HurtParameters;
18// clang-format on
19
20class PigZombie : public ::Zombie {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<4, 4, int> mAngerTime;
25 ::ll::TypedStorage<4, 4, int> mPlayAngrySoundIn;
26 ::ll::TypedStorage<4, 4, int> mStunedTime;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 PigZombie();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual void normalTick() /*override*/;
37
38 virtual bool checkSpawnRules(bool fromSpawner) /*override*/;
39
40 virtual ::ActorHurtResult
41 _hurt(::ActorDamageSource const& source, float damage, ::HurtParameters const& hurtParameters) /*override*/;
42
43 virtual void addAdditionalSaveData(::CompoundTag& entityTag) const /*override*/;
44
45 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCAPI PigZombie(
52 ::ActorDefinitionGroup* definitions,
53 ::ActorDefinitionIdentifier const& definitionName,
54 ::EntityContext& entityContext
55 );
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCAPI void* $ctor(
62 ::ActorDefinitionGroup* definitions,
63 ::ActorDefinitionIdentifier const& definitionName,
64 ::EntityContext& entityContext
65 );
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCAPI void $normalTick();
72
73 MCAPI bool $checkSpawnRules(bool fromSpawner);
74
75 MCAPI ::ActorHurtResult
76 $_hurt(::ActorDamageSource const& source, float damage, ::HurtParameters const& hurtParameters);
77
78 MCAPI void $addAdditionalSaveData(::CompoundTag& entityTag) const;
79
80 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
81
82
83 // NOLINTEND
84
85public:
86 // vftables
87 // NOLINTBEGIN
88 MCAPI static void** $vftable();
89 // NOLINTEND
90};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:26
Definition ActorHurtResult.h:5
Definition CompoundTag.h:18
Definition DataLoadHelper.h:20
Definition EntityContext.h:15
Definition ActorDefinitionIdentifier.h:15
Definition HurtParameters.h:8