LeviLamina
Loading...
Searching...
No Matches
SuspiciousStewItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/Item.h"
7#include "mc/world/item/ItemUseMethod.h"
8
9// auto generated forward declare list
10// clang-format off
11class ItemStack;
12class ItemStackBase;
13class Level;
15class Player;
16namespace Bedrock::Safety { class RedactableString; }
17// clang-format on
18
19class SuspiciousStewItem : public ::Item {
20public:
21 // SuspiciousStewItem inner types define
22 enum class SuspiciousStewType : uint {
23 Poppy = 0,
24 Cornflower = 1,
25 Tulip = 2,
26 AzureBluet = 3,
27 LilyOfTheValley = 4,
28 Dandelion = 5,
29 BlueOrchid = 6,
30 Allium = 7,
31 OxeyeDaisy = 8,
32 WitherRose = 9,
33 Torchflower = 10,
34 OpenEyeblossom = 11,
35 ClosedEyeblossom = 12,
36 Count = 13,
37 };
38
39 using StewEffects = ::std::array<::MobEffectInstance, 13>;
40
41public:
42 // virtual functions
43 // NOLINTBEGIN
44 virtual ::ItemUseMethod useTimeDepleted(::ItemStack& inoutInstance, ::Level* level, ::Player* player) const
45 /*override*/;
46
47 virtual bool uniqueAuxValues() const /*override*/;
48
49 virtual void appendFormattedHovertext(
50 ::ItemStackBase const& stack,
51 ::Level& level,
53 bool const showCategory
54 ) const /*override*/;
55
56 virtual ::std::string buildEffectDescriptionName(::ItemStackBase const& stack, bool const playerIsCreative) const
57 /*override*/;
58
59 virtual ~SuspiciousStewItem() /*override*/ = default;
60 // NOLINTEND
61
62public:
63 // static functions
64 // NOLINTBEGIN
65 MCAPI static ::std::array<::MobEffectInstance, 13> const& _getStewEffects();
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCAPI ::ItemUseMethod $useTimeDepleted(::ItemStack& inoutInstance, ::Level* level, ::Player* player) const;
72
73 MCFOLD bool $uniqueAuxValues() const;
74
75 MCAPI void $appendFormattedHovertext(
76 ::ItemStackBase const& stack,
77 ::Level& level,
79 bool const showCategory
80 ) const;
81
82 MCAPI ::std::string $buildEffectDescriptionName(::ItemStackBase const& stack, bool const playerIsCreative) const;
83
84
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCAPI static void** $vftable();
91 // NOLINTEND
92};
Definition RedactableString.h:10
Definition ItemStackBase.h:44
Definition ItemStack.h:26
Definition Level.h:249
Definition MobEffectInstance.h:15
Definition Player.h:125
Definition SuspiciousStewItem.h:19