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 // NOLINTEND
63
64public:
65 // member functions
66 // NOLINTBEGIN
67 MCAPI OminousBottleItem(::std::string const& name, int id);
68 // NOLINTEND
69
70public:
71 // constructor thunks
72 // NOLINTBEGIN
73 MCAPI void* $ctor(::std::string const& name, int id);
74 // NOLINTEND
75
76public:
77 // virtual function thunks
78 // NOLINTBEGIN
79 MCFOLD ::Potion::PotionType $getPotionType() const;
80
81 MCAPI ::std::string $buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const;
82
83 MCAPI void $appendFormattedHovertext(
84 ::ItemStackBase const& item,
85 ::Level& level,
87 bool const showCategory
88 ) const;
89
90 MCAPI ::std::string $buildEffectDescriptionName(::ItemStackBase const& item, bool) const;
91
92 MCFOLD bool $uniqueAuxValues() const;
93
94 MCAPI ::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const&, int, bool) const;
95
96 MCAPI ::ItemStack& $use(::ItemStack& item, ::Player& player) const;
97
98 MCAPI ::ItemUseMethod $useTimeDepleted(::ItemStack& item, ::Level* level, ::Player* player) const;
99
100 MCAPI bool $isValidAuxValue(int auxValue) const;
101
102 MCFOLD bool $isDestructive(int) const;
103
104
105 // NOLINTEND
106
107public:
108 // vftables
109 // NOLINTBEGIN
110 MCAPI static void** $vftable();
111 // NOLINTEND
112};
Definition RedactableString.h:10
Definition CompoundTag.h:23
Definition ItemDescriptor.h:25
Definition ItemStackBase.h:52
Definition ItemStack.h:35
Definition Level.h:255
Definition Player.h:137