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;
17// clang-format on
18
19class PigZombie : public ::Zombie {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<4, 4, int> mAngerTime;
24 ::ll::TypedStorage<4, 4, int> mPlayAngrySoundIn;
25 ::ll::TypedStorage<4, 4, int> mStunedTime;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 PigZombie();
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual void normalTick() /*override*/;
36
37 virtual bool checkSpawnRules(bool fromSpawner) /*override*/;
38
39 virtual ::ActorHurtResult
40 _hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite) /*override*/;
41
42 virtual void addAdditionalSaveData(::CompoundTag& entityTag) const /*override*/;
43
44 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCAPI PigZombie(
51 ::ActorDefinitionGroup* definitions,
52 ::ActorDefinitionIdentifier const& definitionName,
53 ::EntityContext& entityContext
54 );
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCAPI void* $ctor(
61 ::ActorDefinitionGroup* definitions,
62 ::ActorDefinitionIdentifier const& definitionName,
63 ::EntityContext& entityContext
64 );
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCAPI void $normalTick();
71
72 MCAPI bool $checkSpawnRules(bool fromSpawner);
73
74 MCAPI ::ActorHurtResult $_hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite);
75
76 MCAPI void $addAdditionalSaveData(::CompoundTag& entityTag) const;
77
78 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
79
80
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCAPI static void** $vftable();
87 // NOLINTEND
88};
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 ActorDefinitionIdentifier.h:15