22class CrossbowItem :
public ::RangedWeaponItem {
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
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 ;
70 MCAPI CrossbowItem(::std::string
const& name,
int id);
81 MCAPI
void* $ctor(::std::string
const& name,
int id);
87 MCAPI ::Item& $setIconInfo(::std::string
const& name,
int id);
89 MCFOLD ::ResolvedItemIconInfo
90 $getIconInfo(
::ItemStackBase const& item,
int newAnimationFrame,
bool inInventoryPane)
const;
93 $getAnimationFrameFor(
::Mob* holder,
bool asItemEntity,
::ItemStack const* item,
bool shouldAnimate)
const;
101 MCAPI
void $playSoundIncrementally(
::ItemStack const& item,
::Mob& mob)
const;
103 MCAPI
int $getEnchantSlot()
const;
105 MCFOLD
bool $canBeCharged()
const;
107 MCAPI
int $getMaxUseDuration(
::ItemStack const* instance)
const;