3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/item/HandSlot.h"
7#include "mc/world/item/ItemUseMethod.h"
8#include "mc/world/item/RangedWeaponItem.h"
9#include "mc/world/item/ResolvedItemIconInfo.h"
26 ::ll::TypedStorage<8, 320, ::ResolvedItemIconInfo[5]> mFrame;
27 ::ll::TypedStorage<4, 4, int const> mMaxDurability;
28 ::ll::TypedStorage<4, 4, int const> mMaxMultiShots;
29 ::ll::TypedStorage<4, 4, float const> mMultishotAngleDelta;
30 ::ll::TypedStorage<4, 4, float const> mDefaultArrowPower;
40 virtual ::Item& setIconInfo(::std::string
const& name,
int id) ;
42 virtual ::ResolvedItemIconInfo
43 getIconInfo(
::ItemStackBase const& item,
int newAnimationFrame,
bool inInventoryPane)
const ;
46 getAnimationFrameFor(
::Mob* holder,
bool asItemEntity,
::ItemStack const* item,
bool shouldAnimate)
const
49 virtual ::ItemStack& use(
::ItemStack& instance,
::Player& player, ::HandSlot handSlot)
const ;
56 virtual void playSoundIncrementally(
::ItemStack const& item,
::Mob& mob)
const ;
58 virtual int getEnchantSlot()
const ;
60 virtual bool canBeCharged()
const ;
62 virtual int getMaxUseDuration(
::ItemStack const* instance)
const ;
76 MCNAPI
void*
$ctor(::std::string
const& name,
int id);
84 MCNAPI ::ResolvedItemIconInfo
90 MCAPI ::ItemStack& $use(
::ItemStack& instance,
::Player& player, ::HandSlot handSlot)
const;
MCAPI::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const &item, int newAnimationFrame, bool inInventoryPane) const
MCAPI int $getMaxUseDuration(::ItemStack const *instance) const
MCAPI::ItemUseMethod $useTimeDepleted(::ItemStack &inoutInstance, ::Level *level, ::Player *player) const
MCAPI void $playSoundIncrementally(::ItemStack const &item, ::Mob &mob) const
MCAPI void * $ctor(::std::string const &name, int id)
MCAPI bool $canBeCharged() const
MCAPI CrossbowItem(::std::string const &name, int id)
MCAPI void $enchantProjectile(::ItemStackBase const &weapon, ::Actor &projectile) const
MCAPI int $getAnimationFrameFor(::Mob *holder, bool asItemEntity, ::ItemStack const *item, bool shouldAnimate) const
MCAPI::Item & $setIconInfo(::std::string const &name, int id)
MCAPI int $getEnchantSlot() const
Definition ItemStackBase.h:45
Definition ItemStack.h:26
Definition RangedWeaponItem.h:17