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/HandSlot.h"
8#include "mc/world/item/Item.h"
9#include "mc/world/item/ItemUseMethod.h"
10#include "mc/world/item/ResolvedItemIconInfo.h"
11#include "mc/world/item/alchemy/PotionType.h"
12
13// auto generated forward declare list
14// clang-format off
15class CompoundTag;
16class ItemDescriptor;
17class ItemStack;
18class ItemStackBase;
19class Level;
20class Player;
21namespace Bedrock::Safety { class RedactableString; }
22// clang-format on
23
24class OminousBottleItem : public ::Item {
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 64, ::ResolvedItemIconInfo> mIconInfo;
29 ::ll::TypedStorage<8, 144, ::MobEffectInstance> mMobEffect;
30 // NOLINTEND
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ::PotionType getPotionType() const;
36
37 virtual ::std::string buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const /*override*/;
38
39 virtual void appendFormattedHovertext(
40 ::ItemStackBase const& item,
41 ::Level& level,
43 bool const showCategory
44 ) const /*override*/;
45
46 virtual ::std::string buildEffectDescriptionName(::ItemStackBase const& item, bool) const /*override*/;
47
48 virtual bool uniqueAuxValues() const /*override*/;
49
50 virtual ::ResolvedItemIconInfo getIconInfo(::ItemStackBase const&, int, bool) const /*override*/;
51
52 virtual ::ItemStack& use(::ItemStack& item, ::Player& player, ::HandSlot handSlot) const /*override*/;
53
54 virtual ::ItemUseMethod useTimeDepleted(::ItemStack& item, ::Level* level, ::Player* player) const /*override*/;
55
56 virtual bool isValidAuxValue(int auxValue) const /*override*/;
57
58 virtual bool isDestructive(int) const /*override*/;
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCFOLD ::PotionType $getPotionType() const;
65
66 MCAPI ::std::string $buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const;
67
68 MCAPI void $appendFormattedHovertext(
69 ::ItemStackBase const& item,
70 ::Level& level,
72 bool const showCategory
73 ) const;
74
75 MCAPI ::std::string $buildEffectDescriptionName(::ItemStackBase const& item, bool) const;
76
77 MCFOLD bool $uniqueAuxValues() const;
78
79 MCAPI ::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const&, int, bool) const;
80
81 MCAPI ::ItemStack& $use(::ItemStack& item, ::Player& player, ::HandSlot handSlot) const;
82
83 MCAPI ::ItemUseMethod $useTimeDepleted(::ItemStack& item, ::Level* level, ::Player* player) const;
84
85 MCAPI bool $isValidAuxValue(int auxValue) const;
86
87 MCFOLD bool $isDestructive(int) const;
88
89
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCAPI static void** $vftable();
96 // NOLINTEND
97};
Definition RedactableString.h:10
Definition CompoundTag.h:18
Definition ItemDescriptor.h:25
Definition ItemStackBase.h:44
Definition ItemStack.h:26
Definition Level.h:254
Definition OminousBottleItem.h:24
Definition Player.h:129