3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/item/HandSlot.h"
7#include "mc/world/item/Item.h"
32 virtual void appendFormattedHovertext(
36 bool const showCategory
39 virtual int getEnchantSlot()
const ;
41 virtual int getEnchantValue()
const ;
43 virtual ::ItemStack& use(
::ItemStack& instance,
::Player& player, ::HandSlot handSlot)
const ;
45 virtual bool isThrowable()
const ;
49 virtual short getMaxDamage()
const ;
51 virtual int getAttackDamage()
const ;
53 virtual bool canDestroyInCreative()
const ;
73 bool const showCategory
Definition RedactableString.h:10
Definition BlockSource.h:72
Definition Container.h:36
Definition ItemStackBase.h:45
Definition ItemStack.h:26
Definition TridentItem.h:23
MCAPI int $getEnchantValue() const
MCAPI::Actor * _setupProjectile(::Actor *trident, ::ItemStack item, bool creative) const
MCAPI bool $dispense(::BlockSource ®ion, ::Container &container, int slot, ::Vec3 const &pos, uchar face) const
MCAPI void $appendFormattedHovertext(::ItemStackBase const &stack, ::Level &level, ::Bedrock::Safety::RedactableString &hovertext, bool const showCategory) const
MCAPI bool $canDestroyInCreative() const
MCAPI short $getMaxDamage() const
MCAPI void $hurtActor(::ItemStack &item, ::Actor &actor, ::Mob &attacker) const
MCAPI int $getAttackDamage() const
MCAPI int $getEnchantSlot() const
MCAPI bool $isThrowable() const
MCAPI::ItemStack & $use(::ItemStack &instance, ::Player &player, ::HandSlot handSlot) const