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 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 95
35 virtual bool canPickupItem(::ItemStack const& item) const /*override*/;
36
37 // vIndex: 2
38 virtual void reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params) /*override*/;
39
40 // vIndex: 147
41 virtual bool checkSpawnRules(bool fromSpawner) /*override*/;
42
43 // vIndex: 155
44 virtual int getArmorValue() const /*override*/;
45
46 // vIndex: 8
47 virtual ~Zombie() /*override*/;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCAPI Zombie(
54 ::ActorDefinitionGroup* definitions,
55 ::ActorDefinitionIdentifier const& definitionName,
56 ::EntityContext& entityContext
57 );
58
59 MCFOLD void setZombieType(::Zombie::ZombieType type);
60 // NOLINTEND
61
62public:
63 // static variables
64 // NOLINTBEGIN
65 MCAPI static ::mce::UUID const& SPAWN_BONUS_UUID();
66
67 MCAPI static ::Attribute const& SPAWN_REINFORCEMENTS_CHANCE();
68 // NOLINTEND
69
70public:
71 // constructor thunks
72 // NOLINTBEGIN
73 MCAPI void* $ctor(
74 ::ActorDefinitionGroup* definitions,
75 ::ActorDefinitionIdentifier const& definitionName,
76 ::EntityContext& entityContext
77 );
78 // NOLINTEND
79
80public:
81 // destructor thunk
82 // NOLINTBEGIN
83 MCFOLD void $dtor();
84 // NOLINTEND
85
86public:
87 // virtual function thunks
88 // NOLINTBEGIN
89 MCAPI bool $canPickupItem(::ItemStack const& item) const;
90
91 MCAPI void $reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params);
92
93 MCAPI bool $checkSpawnRules(bool fromSpawner);
94
95 MCFOLD int $getArmorValue() const;
96 // NOLINTEND
97
98public:
99 // vftables
100 // NOLINTBEGIN
101 MCAPI static void** $vftable();
102 // NOLINTEND
103};
Definition ActorDefinitionGroup.h:27
Definition Attribute.h:13
Definition EntityContext.h:16
Definition HumanoidMonster.h:14
Definition ItemStack.h:25
Definition Villager.h:14
Definition Zombie.h:20
Definition ActorDefinitionIdentifier.h:13
Definition VariantParameterList.h:5