LeviLamina
Loading...
Searching...
No Matches
GoatHornItem.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 Goat;
11class HashedString;
12class ItemStack;
13class ItemStackBase;
14class Level;
15class Player;
16namespace Bedrock::Safety { class RedactableString; }
17// clang-format on
18
19class GoatHornItem : public ::Item {
20public:
21 // virtual functions
22 // NOLINTBEGIN
23 // vIndex: 76
24 virtual ::ItemStack& use(::ItemStack& item, ::Player& player) const /*override*/;
25
26 // vIndex: 113
27 virtual bool canBeCharged() const /*override*/;
28
29 // vIndex: 94
30 virtual ::HashedString const& getCooldownType() const /*override*/;
31
32 // vIndex: 95
33 virtual int getCooldownTime() const /*override*/;
34
35 // vIndex: 52
36 virtual void appendFormattedHovertext(
37 ::ItemStackBase const& instance,
38 ::Level& level,
40 bool const showCategory
41 ) const /*override*/;
42
43 // vIndex: 0
44 virtual ~GoatHornItem() /*override*/ = default;
45 // NOLINTEND
46
47public:
48 // static functions
49 // NOLINTBEGIN
50 MCAPI static void addGoatHornVarationSaveData(::Goat& goat, ::ItemStack& instance);
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCAPI ::ItemStack& $use(::ItemStack& item, ::Player& player) const;
63
64 MCFOLD bool $canBeCharged() const;
65
66 MCAPI ::HashedString const& $getCooldownType() const;
67
68 MCFOLD int $getCooldownTime() const;
69
70 MCAPI void $appendFormattedHovertext(
71 ::ItemStackBase const& instance,
72 ::Level& level,
74 bool const showCategory
75 ) const;
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCAPI static void** $vftable();
82 // NOLINTEND
83};
Definition RedactableString.h:10
Definition GoatHornItem.h:19
Definition Goat.h:21
Definition HashedString.h:5
Definition ItemStackBase.h:35
Definition ItemStack.h:25
Definition Item.h:65
Definition Level.h:234
Definition Player.h:119