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 // NOLINTEND
59
60public:
61 // static functions
62 // NOLINTBEGIN
63 MCAPI static ::std::array<::MobEffectInstance, 13> const& _getStewEffects();
64 // NOLINTEND
65
66public:
67 // virtual function thunks
68 // NOLINTBEGIN
69 MCAPI ::ItemUseMethod $useTimeDepleted(::ItemStack& inoutInstance, ::Level* level, ::Player* player) const;
70
71 MCFOLD bool $uniqueAuxValues() const;
72
73 MCAPI void $appendFormattedHovertext(
74 ::ItemStackBase const& stack,
75 ::Level& level,
77 bool const showCategory
78 ) const;
79
80 MCAPI ::std::string $buildEffectDescriptionName(::ItemStackBase const& stack, bool const playerIsCreative) const;
81
82
83 // NOLINTEND
84};
Definition RedactableString.h:10
Definition ItemStackBase.h:44
Definition ItemStack.h:26
Definition Level.h:254
Definition MobEffectInstance.h:16
Definition Player.h:129
Definition SuspiciousStewItem.h:19