3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/item/components/ComponentItem.h"
27class ArrowItem :
public ::ComponentItem {
35 virtual ::Item& setIconInfo(::std::string
const& name,
int id) ;
37 virtual ::Actor* createProjectileActor(
50 virtual void appendFormattedHovertext(
57 virtual ::std::string buildEffectDescriptionName(
::ItemStackBase const& stack,
bool playerIsCreative)
const
60 virtual bool isValidAuxValue(
int auxValue)
const ;
62 virtual ::ResolvedItemIconInfo
63 getIconInfo(
::ItemStackBase const& item,
int newAnimationFrame,
bool inInventoryPane)
const ;
108 MCNAPI ::ResolvedItemIconInfo
MCAPI ArrowItem(::std::string const &name, int id, ::cereal::ReflectionCtx &ctx)
MCAPI::Item & $setIconInfo(::std::string const &name, int id)
MCAPI void * $ctor(::std::string const &name, int id, ::cereal::ReflectionCtx &ctx)
MCAPI::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const &item, int newAnimationFrame, bool inInventoryPane) const
MCAPI void applyEffect(::Arrow *arrow, ::ItemInstance const &slotItem) const
MCAPI::std::string $buildDescriptionId(::ItemDescriptor const &itemDescriptor, ::CompoundTag const *userData) const
MCAPI::Actor * $createProjectileActor(::BlockSource ®ion, ::ItemStack const &stack, ::Vec3 const &pos, ::Vec3 const &direction) const
MCAPI bool $isValidAuxValue(int auxValue) const
MCAPI bool $dispense(::BlockSource ®ion, ::Container &container, int slot, ::Vec3 const &pos, uchar face) const
MCAPI::std::string $buildEffectDescriptionName(::ItemStackBase const &stack, bool playerIsCreative) const
MCAPI void $appendFormattedHovertext(::ItemStackBase const &stack, ::Level &level, ::Bedrock::Safety::RedactableString &hovertext, bool showCategory) const
Definition RedactableString.h:10
Definition BlockSource.h:72
Definition CompoundTag.h:18
Definition Container.h:36
Definition ItemDescriptor.h:24
Definition ItemInstance.h:15
Definition ItemStackBase.h:45
Definition ItemStack.h:26
Definition ResolvedItemIconInfo.h:8
Definition ReflectionCtx.h:11