3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
7#include "mc/world/item/InHandUpdateType.h"
8#include "mc/world/item/Item.h"
38 virtual int getEnchantSlot()
const ;
40 virtual bool isValidRepairItem(
46 virtual bool isHandEquipped()
const ;
48 virtual ::SharedTypes::Legacy::LevelSoundEvent getEquipSound()
const ;
52 virtual ::InHandUpdateType getInHandUpdateType(
56 bool const isMainHand,
57 bool const slotChanged
71 virtual ::HashedString
const& getCooldownCategory()
const ;
73 virtual int getCooldownDuration()
const ;
77 virtual void appendFormattedHovertext(
81 bool const showCategory
88 MCAPI
void playBlockSound(
::Player* player)
const;
90 MCAPI
void playBreakSound(
::Player* player)
const;
97 MCAPI
static int const getBaseColor(
::CompoundTag const* data);
104 MCAPI static ::std::string
const& TIMESTAMP_TAG();
113 MCAPI
int $getEnchantSlot()
const;
115 MCFOLD
int $getEnchantSlot()
const;
118 MCAPI
bool $isValidRepairItem(
124 MCFOLD
bool $isHandEquipped()
const;
126 MCFOLD ::SharedTypes::Legacy::LevelSoundEvent $getEquipSound()
const;
130 MCAPI ::InHandUpdateType $getInHandUpdateType(
134 bool const isMainHand,
135 bool const slotChanged
147 MCAPI ::HashedString
const& $getCooldownCategory()
const;
149 MCFOLD
int $getCooldownDuration()
const;
153 MCAPI
void $appendFormattedHovertext(
157 bool const showCategory
166 MCAPI
static void** $vftable();
Definition BaseGameVersion.h:8
Definition RedactableString.h:10
Definition BlockSource.h:71
Definition CompoundTag.h:18
Definition Container.h:33
Definition HashedString.h:5
Definition IDataOutput.h:5
Definition ItemDescriptor.h:25
Definition ItemStackBase.h:44
Definition ItemStack.h:24
Definition ReadOnlyBinaryStream.h:8
Definition ShieldItem.h:31