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