Skip to content
LeviMC
English
AutoLightDark
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, 168, ::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 MCNAPI ::PotionType $getPotionType() const;
65
66 MCNAPI ::std::string $buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const;
67
69 ::ItemStackBase const& item,
70 ::Level& level,
72 bool const showCategory
73 ) const;
74
75 MCNAPI ::std::string $buildEffectDescriptionName(::ItemStackBase const& item, bool) const;
76
77 MCNAPI bool $uniqueAuxValues() const;
78
79 MCNAPI ::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const&, int, bool) const;
80
81 MCNAPI ::ItemStack& $use(::ItemStack& item, ::Player& player, ::HandSlot handSlot) const;
82
83 MCNAPI ::ItemUseMethod $useTimeDepleted(::ItemStack& item, ::Level* level, ::Player* player) const;
84
85 MCNAPI bool $isValidAuxValue(int auxValue) const;
86
87 MCNAPI bool $isDestructive(int) const;
88
89
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCNAPI static void** $vftable();
96 // NOLINTEND
97};
Definition RedactableString.h:10
Definition CompoundTag.h:18
Definition ItemDescriptor.h:24
Definition ItemStackBase.h:45
Definition ItemStack.h:26
Definition Level.h:255
Definition OminousBottleItem.h:24
MCAPI bool $uniqueAuxValues() const
MCAPI::ItemStack & $use(::ItemStack &item, ::Player &player, ::HandSlot handSlot) const
MCAPI::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const &, int, bool) const
MCAPI bool $isDestructive(int) const
MCAPI::ItemUseMethod $useTimeDepleted(::ItemStack &item, ::Level *level, ::Player *player) const
MCAPI::PotionType $getPotionType() const
MCAPI void $appendFormattedHovertext(::ItemStackBase const &item, ::Level &level, ::Bedrock::Safety::RedactableString &hovertext, bool const showCategory) const
static MCAPI void ** $vftable()
MCAPI::std::string $buildDescriptionId(::ItemDescriptor const &, ::CompoundTag const *) const
MCAPI bool $isValidAuxValue(int auxValue) const
MCAPI::std::string $buildEffectDescriptionName(::ItemStackBase const &item, bool) const
Definition Player.h:131