LeviLamina
Loading...
Searching...
No Matches
EnderpearlItem.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 HashedString;
11class ItemStack;
12class Player;
13// clang-format on
14
15class EnderpearlItem : public ::Item {
16public:
17 // prevent constructor by default
18 EnderpearlItem();
19
20public:
21 // virtual functions
22 // NOLINTBEGIN
23 virtual ::ItemStack& use(::ItemStack& item, ::Player& player) const /*override*/;
24
25 virtual bool isThrowable() const /*override*/;
26
27 virtual ::HashedString const& getCooldownCategory() const /*override*/;
28
29 virtual int getCooldownDuration() const /*override*/;
30 // NOLINTEND
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI EnderpearlItem(::std::string const& nameId, int id);
36 // NOLINTEND
37
38public:
39 // static variables
40 // NOLINTBEGIN
41 MCAPI static ::HashedString const& COOLDOWN();
42 // NOLINTEND
43
44public:
45 // constructor thunks
46 // NOLINTBEGIN
47 MCAPI void* $ctor(::std::string const& nameId, int id);
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53 MCAPI ::ItemStack& $use(::ItemStack& item, ::Player& player) const;
54
55 MCFOLD bool $isThrowable() const;
56
57 MCAPI ::HashedString const& $getCooldownCategory() const;
58
59 MCFOLD int $getCooldownDuration() const;
60
61
62 // NOLINTEND
63
64public:
65 // vftables
66 // NOLINTBEGIN
67 MCNAPI static void** $vftable();
68 // NOLINTEND
69};
static MCAPI void ** $vftable()
Definition HashedString.h:5
Definition ItemStack.h:35
Definition Player.h:137