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 ::InHandUpdateType _getInHandUpdateType(
96 MCAPI
void playBlockSound(
::Player* player)
const;
98 MCAPI
void playBreakSound(
::Player* player)
const;
105 MCAPI
static int const getBaseColor(
::CompoundTag const* data);
112 MCAPI
static int const& EFFECTIVE_BLOCK_DELAY();
114 MCAPI
static int const& NO_SHIELD_PATTERN();
116 MCAPI static ::std::string
const& TIMESTAMP_TAG();
124 MCFOLD
int $getEnchantSlot()
const;
126 MCAPI
bool $isValidRepairItem(
132 MCFOLD
bool $isHandEquipped()
const;
134 MCFOLD ::SharedTypes::Legacy::LevelSoundEvent $getEquipSound()
const;
138 MCAPI ::InHandUpdateType $getInHandUpdateType(
142 bool const isMainHand,
143 bool const slotChanged
155 MCAPI ::HashedString
const& $getCooldownCategory()
const;
157 MCFOLD
int $getCooldownDuration()
const;
161 MCAPI
void $appendFormattedHovertext(
165 bool const showCategory
174 MCAPI
static void** $vftable();