LeviLamina
Loading...
Searching...
No Matches
MaceItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/WeaponItem.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class BaseGameVersion;
12class Block;
13class ItemStack;
14class ItemStackBase;
15class Mob;
16// clang-format on
17
18class MaceItem : public ::WeaponItem {
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 // vIndex: 54
23 virtual int getEnchantSlot() const /*override*/;
24
25 // vIndex: 53
26 virtual bool
27 isValidRepairItem(::ItemStackBase const&, ::ItemStackBase const& repairItem, ::BaseGameVersion const&) const
28 /*override*/;
29
30 // vIndex: 82
31 virtual void hurtActor(::ItemStack& item, ::Actor& actor, ::Mob& attacker) const /*override*/;
32
33 // vIndex: 37
34 virtual float getAttackDamageBonus(::Actor const& attacker, float) const /*override*/;
35
36 // vIndex: 81
37 virtual float getDestroySpeed(::ItemStackBase const& item, ::Block const& block) const /*override*/;
38
39 // vIndex: 32
40 virtual bool canDestroySpecial(::Block const& block) const /*override*/;
41
42 // vIndex: 0
43 virtual ~MaceItem() /*override*/ = default;
44 // NOLINTEND
45
46public:
47 // destructor thunk
48 // NOLINTBEGIN
49
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55 MCAPI int $getEnchantSlot() const;
56
57 MCAPI bool
58 $isValidRepairItem(::ItemStackBase const&, ::ItemStackBase const& repairItem, ::BaseGameVersion const&) const;
59
60 MCAPI void $hurtActor(::ItemStack& item, ::Actor& actor, ::Mob& attacker) const;
61
62 MCAPI float $getAttackDamageBonus(::Actor const& attacker, float) const;
63
64 MCFOLD float $getDestroySpeed(::ItemStackBase const& item, ::Block const& block) const;
65
66 MCAPI bool $canDestroySpecial(::Block const& block) const;
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCAPI static void** $vftable();
73 // NOLINTEND
74};
Definition Actor.h:104
Definition BaseGameVersion.h:13
Definition Block.h:36
Definition ItemStackBase.h:35
Definition ItemStack.h:25
Definition MaceItem.h:18
Definition Mob.h:47
Definition WeaponItem.h:21