3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/item/HandSlot.h"
7#include "mc/world/item/PotionItem.h"
8#include "mc/world/item/alchemy/PotionType.h"
29 virtual ::PotionType getPotionType()
const ;
31 virtual ::Item& setIconInfo(::std::string
const& name,
int id) ;
33 virtual void appendFormattedHovertext(
40 virtual ::ResolvedItemIconInfo getIconInfo(
::ItemStackBase const& item,
int,
bool)
const ;
42 virtual ::ItemStack& use(
::ItemStack& instance,
::Player& player, ::HandSlot handSlot)
const ;
44 virtual bool isThrowable()
const ;
46 virtual ::Actor* createProjectileActor(
Definition RedactableString.h:10
Definition BlockSource.h:72
Definition Container.h:36
Definition ItemStackBase.h:45
Definition ItemStack.h:26
Definition LingeringPotionItem.h:25
MCAPI::Actor * $createProjectileActor(::BlockSource ®ion, ::ItemStack const &stack, ::Vec3 const &pos, ::Vec3 const &direction) const
MCAPI::ItemStack & $use(::ItemStack &instance, ::Player &player, ::HandSlot handSlot) const
MCAPI::Item & $setIconInfo(::std::string const &name, int id)
MCAPI bool $dispense(::BlockSource ®ion, ::Container &container, int slot, ::Vec3 const &pos, uchar face) const
static MCAPI void ** $vftable()
MCAPI bool $isThrowable() const
MCAPI::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const &item, int, bool) const
MCAPI::PotionType $getPotionType() const
MCAPI void $appendFormattedHovertext(::ItemStackBase const &stack, ::Level &level, ::Bedrock::Safety::RedactableString &hovertext, bool showCategory) const
Definition PotionItem.h:29
Definition ResolvedItemIconInfo.h:8