LeviLamina
Loading...
Searching...
No Matches
DiggerItem.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 BaseGameVersion;
11class Block;
12class HashedString;
13class ItemStackBase;
14class Level;
15class RenderParams;
16namespace Bedrock::Safety { class RedactableString; }
17// clang-format on
18
19class DiggerItem : public ::Item {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 8, ::Item::Tier const&> mTier;
24 ::ll::TypedStorage<8, 8, ::HashedString const&> mBlockDestructionTag;
25 ::ll::TypedStorage<4, 4, int> mAttackDamage;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 36
32 virtual int getAttackDamage() const /*override*/;
33
34 // vIndex: 38
35 virtual bool isHandEquipped() const /*override*/;
36
37 // vIndex: 55
38 virtual int getEnchantValue() const /*override*/;
39
40 // vIndex: 53
41 virtual bool isValidRepairItem(
42 ::ItemStackBase const&,
43 ::ItemStackBase const& repairItem,
44 ::BaseGameVersion const& baseGameVersion
45 ) const /*override*/;
46
47 // vIndex: 52
48 virtual void appendFormattedHovertext(
49 ::ItemStackBase const& stack,
50 ::Level& level,
52 bool const showCategory
53 ) const /*override*/;
54
55 // vIndex: 32
56 virtual bool canDestroySpecial(::Block const& block) const /*override*/;
57
58 // vIndex: 81
59 virtual float getDestroySpeed(::ItemStackBase const& item, ::Block const& block) const /*override*/;
60
61 // vIndex: 8
62 virtual void executeEvent(::ItemStackBase& item, ::std::string const& name, ::RenderParams& params) const
63 /*override*/;
64
65 // vIndex: 0
66 virtual ~DiggerItem() /*override*/;
67 // NOLINTEND
68
69public:
70 // destructor thunk
71 // NOLINTBEGIN
72 MCFOLD void $dtor();
73 // NOLINTEND
74
75public:
76 // virtual function thunks
77 // NOLINTBEGIN
78 MCFOLD int $getAttackDamage() const;
79
80 MCFOLD bool $isHandEquipped() const;
81
82 MCAPI int $getEnchantValue() const;
83
84 MCAPI bool $isValidRepairItem(
85 ::ItemStackBase const&,
86 ::ItemStackBase const& repairItem,
87 ::BaseGameVersion const& baseGameVersion
88 ) const;
89
90 MCAPI void $appendFormattedHovertext(
91 ::ItemStackBase const& stack,
92 ::Level& level,
94 bool const showCategory
95 ) const;
96
97 MCAPI bool $canDestroySpecial(::Block const& block) const;
98
99 MCAPI float $getDestroySpeed(::ItemStackBase const& item, ::Block const& block) const;
100
101 MCAPI void $executeEvent(::ItemStackBase& item, ::std::string const& name, ::RenderParams& params) const;
102 // NOLINTEND
103
104public:
105 // vftables
106 // NOLINTBEGIN
107 MCAPI static void** $vftable();
108 // NOLINTEND
109};
Definition BaseGameVersion.h:13
Definition RedactableString.h:10
Definition Block.h:36
Definition DiggerItem.h:19
Definition HashedString.h:5
Definition ItemStackBase.h:35
Definition Item.h:65
Definition Level.h:234
Definition RenderParams.h:30