Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
CarrotOnAStickItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/Item.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class ItemStack;
12class Mob;
13// clang-format on
14
15class CarrotOnAStickItem : public ::Item {
16public:
17 // virtual functions
18 // NOLINTBEGIN
19 virtual bool isHandEquipped() const /*override*/;
20
21 virtual bool requiresInteract() const /*override*/;
22
23 virtual int getEnchantSlot() const /*override*/;
24
25 virtual int getEnchantValue() const /*override*/;
26
27 virtual void hurtActor(::ItemStack& item, ::Actor& actor, ::Mob& attacker) const /*override*/;
28 // NOLINTEND
29
30public:
31 // virtual function thunks
32 // NOLINTBEGIN
33 MCNAPI bool $isHandEquipped() const;
34
35 MCNAPI bool $requiresInteract() const;
36
37 MCNAPI int $getEnchantSlot() const;
38
39 MCNAPI int $getEnchantValue() const;
40
41 MCNAPI void $hurtActor(::ItemStack& item, ::Actor& actor, ::Mob& attacker) const;
42
43
44 // NOLINTEND
45
46public:
47 // vftables
48 // NOLINTBEGIN
49 MCNAPI static void** $vftable();
50 // NOLINTEND
51};
Definition Actor.h:116
Definition CarrotOnAStickItem.h:15
MCAPI void $hurtActor(::ItemStack &item, ::Actor &actor, ::Mob &attacker) const
MCAPI int $getEnchantValue() const
static MCAPI void ** $vftable()
MCAPI int $getEnchantSlot() const
MCAPI bool $isHandEquipped() const
MCAPI bool $requiresInteract() const
Definition ItemStack.h:26
Definition Mob.h:58