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
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 // vIndex: 121
39 virtual ::Potion::PotionType getPotionType() const;
40
41 // vIndex: 87
42 virtual ::std::string buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const /*override*/;
43
44 // vIndex: 52
45 virtual void appendFormattedHovertext(
46 ::ItemStackBase const& item,
47 ::Level& level,
49 bool const showCategory
50 ) const /*override*/;
51
52 // vIndex: 88
53 virtual ::std::string buildEffectDescriptionName(::ItemStackBase const& stack) const /*override*/;
54
55 // vIndex: 63
56 virtual bool uniqueAuxValues() const /*override*/;
57
58 // vIndex: 108
59 virtual ::ResolvedItemIconInfo getIconInfo(::ItemStackBase const&, int, bool) const /*override*/;
60
61 // vIndex: 76
62 virtual ::ItemStack& use(::ItemStack& item, ::Player& player) const /*override*/;
63
64 // vIndex: 79
65 virtual ::ItemUseMethod useTimeDepleted(::ItemStack& inoutInstance, ::Level* level, ::Player* player) const
66 /*override*/;
67
68 // vIndex: 60
69 virtual bool isValidAuxValue(int auxValue) const /*override*/;
70
71 // vIndex: 47
72 virtual bool isDestructive(int) const /*override*/;
73
74 // vIndex: 0
75 virtual ~OminousBottleItem() /*override*/ = default;
76 // NOLINTEND
77
78public:
79 // member functions
80 // NOLINTBEGIN
81 MCAPI OminousBottleItem(::std::string const& name, int id);
82 // NOLINTEND
83
84public:
85 // static variables
86 // NOLINTBEGIN
87 MCAPI static int const& MAX_AMPLIFIER();
88 // NOLINTEND
89
90public:
91 // constructor thunks
92 // NOLINTBEGIN
93 MCAPI void* $ctor(::std::string const& name, int id);
94 // NOLINTEND
95
96public:
97 // virtual function thunks
98 // NOLINTBEGIN
99 MCFOLD ::Potion::PotionType $getPotionType() const;
100
101 MCAPI ::std::string $buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const;
102
103 MCAPI void $appendFormattedHovertext(
104 ::ItemStackBase const& item,
105 ::Level& level,
107 bool const showCategory
108 ) const;
109
110 MCAPI ::std::string $buildEffectDescriptionName(::ItemStackBase const& stack) const;
111
112 MCFOLD bool $uniqueAuxValues() const;
113
114 MCAPI ::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const&, int, bool) const;
115
116 MCAPI ::ItemStack& $use(::ItemStack& item, ::Player& player) const;
117
118 MCAPI ::ItemUseMethod $useTimeDepleted(::ItemStack& inoutInstance, ::Level* level, ::Player* player) const;
119
120 MCAPI bool $isValidAuxValue(int auxValue) const;
121
122 MCFOLD bool $isDestructive(int) const;
123 // NOLINTEND
124
125public:
126 // vftables
127 // NOLINTBEGIN
128 MCNAPI static void** $vftable();
129 // NOLINTEND
130};
Definition RedactableString.h:10
Definition CompoundTag.h:13
Definition ItemDescriptor.h:22
Definition ItemStackBase.h:35
Definition ItemStack.h:25
Definition Item.h:65
Definition Level.h:238
Definition OminousBottleItem.h:23
static MCAPI void ** $vftable()
Definition Player.h:119