3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
7#include "mc/world/item/HandSlot.h"
8#include "mc/world/item/InHandUpdateType.h"
9#include "mc/world/item/Item.h"
39 virtual int getEnchantSlot()
const ;
41 virtual bool isValidRepairItem(
47 virtual bool isHandEquipped()
const ;
49 virtual ::SharedTypes::Legacy::LevelSoundEvent getEquipSound()
const ;
53 virtual ::InHandUpdateType getInHandUpdateType(
58 bool const slotChanged
72 virtual ::HashedString
const& getCooldownCategory()
const ;
74 virtual int getCooldownDuration()
const ;
78 virtual void appendFormattedHovertext(
82 bool const showCategory
115 MCAPI
bool $isValidRepairItem(
132 bool const slotChanged
154 bool const showCategory
Definition BaseGameVersion.h:8
Definition RedactableString.h:10
Definition BlockSource.h:72
Definition CompoundTag.h:18
Definition Container.h:36
Definition HashedString.h:5
Definition IDataOutput.h:5
Definition ItemDescriptor.h:24
Definition ItemStackBase.h:45
Definition ItemStack.h:26
Definition ReadOnlyBinaryStream.h:8
Definition ShieldItem.h:32
MCAPI::SharedTypes::Legacy::LevelSoundEvent $getEquipSound() const
MCAPI void $writeUserData(::ItemStackBase const &stack, ::IDataOutput &output) const
static MCAPI void ** $vftable()
MCAPI::InHandUpdateType $getInHandUpdateType(::Player const &player, ::ItemStack const &oldItem, ::ItemStack const &newItem, bool const, bool const slotChanged) const
MCAPI bool $inventoryTick(::ItemStack &item, ::Level &level, ::Actor &owner, int, bool selected) const
MCAPI int $getCooldownDuration() const
MCAPI int $getEnchantSlot() const
MCAPI::HashedString const & $getCooldownCategory() const
MCAPI bool $dispense(::BlockSource ®ion, ::Container &container, int slot, ::Vec3 const &pos, uchar) const
MCAPI void $appendFormattedHovertext(::ItemStackBase const &stack, ::Level &level, ::Bedrock::Safety::RedactableString &hovertext, bool const showCategory) const
MCAPI bool $isHandEquipped() const
MCAPI void $hurtActor(::ItemStack &item, ::Actor &actor, ::Mob &attacker) const
static MCAPI ::std::string const & TIMESTAMP_TAG()
MCAPI::std::string $buildDescriptionId(::ItemDescriptor const &, ::CompoundTag const *userData) const
MCAPI void playBlockSound(::Player *player) const
MCAPI::ItemStack & $use(::ItemStack &item, ::Player &player, ::HandSlot handSlot) const
MCAPI void playBreakSound(::Player *player) const
MCAPI void $readUserData(::ItemStackBase &stack, ::IDataInput &input, ::ReadOnlyBinaryStream &underlyingStream) const