LeviLamina
Loading...
Searching...
No Matches
OminousBottleItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/effect/MobEffectInstance.h"
7#include "mc/world/item/Item.h"
8#include "mc/world/item/ItemUseMethod.h"
9#include "mc/world/item/ResolvedItemIconInfo.h"
10#include "mc/world/item/alchemy/Potion.h"
11
12// auto generated forward declare list
13// clang-format off
14class CompoundTag;
15class ItemDescriptor;
16class ItemStack;
17class ItemStackBase;
18class Level;
19class Player;
20namespace Bedrock::Safety { class RedactableString; }
21// clang-format on
22
23class OminousBottleItem : public ::Item {
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 64, ::ResolvedItemIconInfo> mIconInfo;
28 ::ll::TypedStorage<8, 136, ::MobEffectInstance> mMobEffect;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 OminousBottleItem();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ::Potion::PotionType getPotionType() const;
39
40 virtual ::std::string buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const /*override*/;
41
42 virtual void appendFormattedHovertext(
43 ::ItemStackBase const& item,
44 ::Level& level,
46 bool const showCategory
47 ) const /*override*/;
48
49 virtual ::std::string buildEffectDescriptionName(::ItemStackBase const& item, bool) const /*override*/;
50
51 virtual bool uniqueAuxValues() const /*override*/;
52
53 virtual ::ResolvedItemIconInfo getIconInfo(::ItemStackBase const&, int, bool) const /*override*/;
54
55 virtual ::ItemStack& use(::ItemStack& item, ::Player& player) const /*override*/;
56
57 virtual ::ItemUseMethod useTimeDepleted(::ItemStack& item, ::Level* level, ::Player* player) const /*override*/;
58
59 virtual bool isValidAuxValue(int auxValue) const /*override*/;
60
61 virtual bool isDestructive(int) const /*override*/;
62
63 virtual ~OminousBottleItem() /*override*/ = default;
64 // NOLINTEND
65
66public:
67 // member functions
68 // NOLINTBEGIN
69 MCAPI OminousBottleItem(::std::string const& name, int id);
70 // NOLINTEND
71
72public:
73 // static variables
74 // NOLINTBEGIN
75 MCAPI static int const& MAX_AMPLIFIER();
76 // NOLINTEND
77
78public:
79 // constructor thunks
80 // NOLINTBEGIN
81 MCAPI void* $ctor(::std::string const& name, int id);
82 // NOLINTEND
83
84public:
85 // virtual function thunks
86 // NOLINTBEGIN
87 MCFOLD ::Potion::PotionType $getPotionType() const;
88
89 MCAPI ::std::string $buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const;
90
91 MCAPI void $appendFormattedHovertext(
92 ::ItemStackBase const& item,
93 ::Level& level,
95 bool const showCategory
96 ) const;
97
98 MCAPI ::std::string $buildEffectDescriptionName(::ItemStackBase const& item, bool) const;
99
100 MCFOLD bool $uniqueAuxValues() const;
101
102 MCAPI ::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const&, int, bool) const;
103
104 MCAPI ::ItemStack& $use(::ItemStack& item, ::Player& player) const;
105
106 MCAPI ::ItemUseMethod $useTimeDepleted(::ItemStack& item, ::Level* level, ::Player* player) const;
107
108 MCAPI bool $isValidAuxValue(int auxValue) const;
109
110 MCFOLD bool $isDestructive(int) const;
111
112
113 // NOLINTEND
114
115public:
116 // vftables
117 // NOLINTBEGIN
118 MCAPI static void** $vftable();
119 // NOLINTEND
120};
Definition RedactableString.h:10
Definition CompoundTag.h:23
Definition ItemDescriptor.h:23
Definition ItemStackBase.h:44
Definition ItemStack.h:26
Definition Level.h:249
Definition Player.h:125