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