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/HandSlot.h"
7#include "mc/world/item/Item.h"
8
9// auto generated forward declare list
10// clang-format off
11class Goat;
12class HashedString;
13class ItemStack;
14class ItemStackBase;
15class Level;
16class Player;
17namespace Bedrock::Safety { class RedactableString; }
18// clang-format on
19
20class GoatHornItem : public ::Item {
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 virtual ::ItemStack& use(::ItemStack& item, ::Player& player, ::HandSlot handSlot) const /*override*/;
25
26 virtual bool canBeCharged() const /*override*/;
27
28 virtual ::HashedString const& getCooldownCategory() const /*override*/;
29
30 virtual int getCooldownDuration() const /*override*/;
31
32 virtual void appendFormattedHovertext(
33 ::ItemStackBase const& instance,
34 ::Level& level,
36 bool const showCategory
37 ) const /*override*/;
38 // NOLINTEND
39
40public:
41 // static functions
42 // NOLINTBEGIN
43 MCAPI static void addGoatHornVarationSaveData(::Goat& goat, ::ItemStack& instance);
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCAPI ::ItemStack& $use(::ItemStack& item, ::Player& player, ::HandSlot handSlot) const;
50
51 MCFOLD bool $canBeCharged() const;
52
53 MCAPI ::HashedString const& $getCooldownCategory() const;
54
55 MCFOLD int $getCooldownDuration() const;
56
57 MCAPI void $appendFormattedHovertext(
58 ::ItemStackBase const& instance,
59 ::Level& level,
61 bool const showCategory
62 ) const;
63
64
65 // NOLINTEND
66
67public:
68 // vftables
69 // NOLINTBEGIN
70 MCAPI static void** $vftable();
71 // NOLINTEND
72};
Definition RedactableString.h:10
Definition GoatHornItem.h:20
Definition Goat.h:21
Definition HashedString.h:5
Definition ItemStackBase.h:44
Definition ItemStack.h:26
Definition Level.h:254
Definition Player.h:129