26class ItemStack :
public ::ItemStackBase {
30 ::ll::TypedStorage<4, 24, ::ItemStackNetIdVariant> mNetIdVariant;
36 virtual void reinit(
::Block const& block,
int count) ;
38 virtual void reinit(
::Item const& item,
int count,
int auxValue) ;
40 virtual void reinit(::std::string_view
const name,
int count,
int auxValue) ;
42 virtual void setNull(::std::optional<::std::string> reason) ;
44 virtual ::std::string toString()
const ;
46 virtual ::std::string toDebugString()
const ;
48 virtual ~ItemStack() ;
56 MCAPI ItemStack(::ItemStack
const& rhs);
60 MCAPI ItemStack(
::Item const& item,
int count = 1,
int auxValue = 0,
::CompoundTag const* _userData =
nullptr);
62 MCAPI_C
void clientInitNetId(::ItemStackNetId
const& serverNetId);
64 MCAPI
int getMaxUseDuration()
const;
66 MCAPI ::ItemStack getStrippedNetworkItem()
const;
68 MCAPI
bool matchesNetIdVariant(::ItemStack
const& other)
const;
70 MCAPI ::ItemStack& operator=(::ItemStack
const& rhs);
72 MCAPI
bool sameItemAndAuxAndBlockData(::ItemStack
const& otherItemStack)
const;
74 MCAPI
void serverInitNetId();
76 MCAPI
void useAsFuel();
78 MCAPI ::InteractionResult useOn(
92 MCAPI static ::ItemStack
103 MCAPI static ::ItemStack
const& EMPTY_ITEM();
111 MCAPI
void* $ctor(::ItemStack
const& rhs);
117 MCAPI
void* $ctor(
::Item const& item,
int count,
int auxValue,
::CompoundTag const* _userData);
129 MCAPI
void $reinit(
::Block const& block,
int count);
131 MCAPI
void $reinit(
::Item const& item,
int count,
int auxValue);
133 MCAPI
void $reinit(::std::string_view
const name,
int count,
int auxValue);
135 MCAPI
void $setNull(::std::optional<::std::string> reason);
137 MCAPI ::std::string $toString()
const;
139 MCAPI ::std::string $toDebugString()
const;
Definition ItemUsedOnEventContext.h:8