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 // prevent constructor by default
22 GoatHornItem();
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual ::ItemStack& use(::ItemStack& item, ::Player& player) const /*override*/;
28
29 virtual bool canBeCharged() const /*override*/;
30
31 virtual ::HashedString const& getCooldownCategory() const /*override*/;
32
33 virtual int getCooldownDuration() const /*override*/;
34
35 virtual void appendFormattedHovertext(
36 ::ItemStackBase const& instance,
37 ::Level& level,
39 bool const showCategory
40 ) const /*override*/;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI GoatHornItem(::std::string const& name, int id);
47 // NOLINTEND
48
49public:
50 // static functions
51 // NOLINTBEGIN
52 MCAPI static void addGoatHornVarationSaveData(::Goat& goat, ::ItemStack& instance);
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCAPI void* $ctor(::std::string const& name, int id);
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCAPI ::ItemStack& $use(::ItemStack& item, ::Player& player) const;
65
66 MCFOLD bool $canBeCharged() const;
67
68 MCAPI ::HashedString const& $getCooldownCategory() const;
69
70 MCFOLD int $getCooldownDuration() const;
71
72 MCAPI void $appendFormattedHovertext(
73 ::ItemStackBase const& instance,
74 ::Level& level,
76 bool const showCategory
77 ) const;
78
79
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCAPI static void** $vftable();
86 // NOLINTEND
87};
Definition RedactableString.h:10
Definition Goat.h:22
Definition HashedString.h:5
Definition ItemStackBase.h:52
Definition ItemStack.h:35
Definition Level.h:255
Definition Player.h:137