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 virtual ::ItemStack& use(::ItemStack& item, ::Player& player) const /*override*/;
24
25 virtual bool canBeCharged() const /*override*/;
26
27 virtual ::HashedString const& getCooldownCategory() const /*override*/;
28
29 virtual int getCooldownDuration() const /*override*/;
30
31 virtual void appendFormattedHovertext(
32 ::ItemStackBase const& instance,
33 ::Level& level,
35 bool const showCategory
36 ) const /*override*/;
37
38 virtual ~GoatHornItem() /*override*/ = default;
39 // NOLINTEND
40
41public:
42 // static functions
43 // NOLINTBEGIN
44 MCAPI static void addGoatHornVarationSaveData(::Goat& goat, ::ItemStack& instance);
45 // NOLINTEND
46
47public:
48 // virtual function thunks
49 // NOLINTBEGIN
50 MCAPI ::ItemStack& $use(::ItemStack& item, ::Player& player) const;
51
52 MCFOLD bool $canBeCharged() const;
53
54 MCAPI ::HashedString const& $getCooldownCategory() const;
55
56 MCFOLD int $getCooldownDuration() const;
57
58 MCAPI void $appendFormattedHovertext(
59 ::ItemStackBase const& instance,
60 ::Level& level,
62 bool const showCategory
63 ) const;
64
65
66 // NOLINTEND
67
68public:
69 // vftables
70 // NOLINTBEGIN
71 MCAPI static void** $vftable();
72 // NOLINTEND
73};
Definition RedactableString.h:10
Definition GoatHornItem.h:19
Definition Goat.h:18
Definition HashedString.h:5
Definition ItemStackBase.h:44
Definition ItemStack.h:26
Definition Level.h:249
Definition Player.h:125