LeviLamina
Loading...
Searching...
No Matches
Zombie.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ActorInitializationMethod.h"
7#include "mc/world/actor/monster/HumanoidMonster.h"
8
9// auto generated forward declare list
10// clang-format off
12class Attribute;
13class EntityContext;
14class ItemStack;
17namespace mce { class UUID; }
18// clang-format on
19
20class Zombie : public ::HumanoidMonster {
21public:
22 // Zombie inner types define
23 enum class ZombieType : int {
24 Default = 0,
25 Villager = 1,
26 Husk = 2,
27 Pigzombie = 3,
28 Drowned = 4,
29 };
30
31public:
32 // prevent constructor by default
33 Zombie();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 // vIndex: 95
39 virtual bool canPickupItem(::ItemStack const& item) const /*override*/;
40
41 // vIndex: 2
42 virtual void reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params) /*override*/;
43
44 // vIndex: 147
45 virtual bool checkSpawnRules(bool fromSpawner) /*override*/;
46
47 // vIndex: 155
48 virtual int getArmorValue() const /*override*/;
49
50 // vIndex: 8
51 virtual ~Zombie() /*override*/;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCAPI Zombie(
58 ::ActorDefinitionGroup* definitions,
59 ::ActorDefinitionIdentifier const& definitionName,
60 ::EntityContext& entityContext
61 );
62
63 MCFOLD void setZombieType(::Zombie::ZombieType type);
64 // NOLINTEND
65
66public:
67 // static variables
68 // NOLINTBEGIN
69 MCAPI static ::mce::UUID const& SPAWN_BONUS_UUID();
70
71 MCAPI static ::Attribute const& SPAWN_REINFORCEMENTS_CHANCE();
72 // NOLINTEND
73
74public:
75 // constructor thunks
76 // NOLINTBEGIN
77 MCAPI void* $ctor(
78 ::ActorDefinitionGroup* definitions,
79 ::ActorDefinitionIdentifier const& definitionName,
80 ::EntityContext& entityContext
81 );
82 // NOLINTEND
83
84public:
85 // destructor thunk
86 // NOLINTBEGIN
87 MCFOLD void $dtor();
88 // NOLINTEND
89
90public:
91 // virtual function thunks
92 // NOLINTBEGIN
93 MCAPI bool $canPickupItem(::ItemStack const& item) const;
94
95 MCAPI void $reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params);
96
97 MCAPI bool $checkSpawnRules(bool fromSpawner);
98
99 MCFOLD int $getArmorValue() const;
100 // NOLINTEND
101
102public:
103 // vftables
104 // NOLINTBEGIN
105 MCNAPI static void** $vftable();
106 // NOLINTEND
107};
Definition ActorDefinitionGroup.h:29
Definition Attribute.h:9
Definition EntityContext.h:16
Definition HumanoidMonster.h:14
Definition ItemStack.h:25
Definition Villager.h:14
Definition Zombie.h:20
static MCAPI void ** $vftable()
Definition ActorDefinitionIdentifier.h:15
Definition VariantParameterList.h:5