27 ::ll::TypedStorage<4, 24, ::ItemStackNetIdVariant> mNetIdVariant;
34 virtual void reinit(
::Block const& block,
int count) ;
37 virtual void reinit(
::Item const& item,
int count,
int auxValue) ;
40 virtual void reinit(::std::string_view
const name,
int count,
int auxValue) ;
43 virtual void setNull(::std::optional<::std::string> reason) ;
46 virtual ::std::string toString()
const ;
49 virtual ::std::string toDebugString()
const ;
66 MCAPI
ItemStack(::std::string_view name,
int count = 1,
int auxValue = 0,
::CompoundTag const* _userData =
nullptr);
68 MCAPI
int getMaxUseDuration()
const;
70 MCAPI ::ItemStack getStrippedNetworkItem()
const;
72 MCAPI
bool matchesNetIdVariant(
::ItemStack const& other)
const;
74 MCAPI ::ItemStack& operator=(
::ItemStack const& rhs);
76 MCAPI
bool sameItemAndAuxAndBlockData(
::ItemStack const& otherItemStack)
const;
78 MCAPI
void serverInitNetId();
80 MCAPI
void useAsFuel();
82 MCAPI ::InteractionResult useOn(
96 MCAPI static ::ItemStack
107 MCAPI static ::ItemStack
const& EMPTY_ITEM();
119 MCAPI
void* $ctor(
::Item const& item,
int count,
int auxValue,
::CompoundTag const* _userData);
121 MCAPI
void* $ctor(::std::string_view name,
int count,
int auxValue,
::CompoundTag const* _userData);
133 MCAPI
void $reinit(
::Block const& block,
int count);
135 MCAPI
void $reinit(
::Item const& item,
int count,
int auxValue);
137 MCAPI
void $reinit(::std::string_view
const name,
int count,
int auxValue);
139 MCAPI
void $setNull(::std::optional<::std::string> reason);
141 MCAPI ::std::string $toString()
const;
143 MCAPI ::std::string $toDebugString()
const;
Definition ItemUsedOnEventContext.h:8