26class ItemStack :
public ::ItemStackBase {
30 ::ll::TypedStorage<8, 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);
64 MCAPI ItemStack(
::Item const& item,
int count = 1,
int auxValue = 0,
::CompoundTag const* _userData =
nullptr);
67 MCAPI
void clientInitNetId(::ItemStackNetId
const& serverNetId);
70 MCAPI
int getMaxUseDuration()
const;
72 MCAPI ::ItemStack getStrippedNetworkItem()
const;
74 MCAPI
bool matchesNetIdVariant(::ItemStack
const& other)
const;
76 MCAPI ::ItemStack& operator=(::ItemStack
const& rhs);
78 MCAPI
bool sameItemAndAuxAndBlockData(::ItemStack
const& otherItemStack)
const;
80 MCAPI
void serverInitNetId();
82 MCAPI
void useAsFuel();
84 MCAPI ::InteractionResult useOn(
98 MCAPI static ::ItemStack
109 MCAPI static ::ItemStack
const& EMPTY_ITEM();
117 MCAPI
void* $ctor(::ItemStack
const& rhs);
125 MCAPI
void* $ctor(
::Item const& item,
int count,
int auxValue,
::CompoundTag const* _userData);
137 MCAPI
void $reinit(
::Block const& block,
int count);
139 MCAPI
void $reinit(
::Item const& item,
int count,
int auxValue);
141 MCAPI
void $reinit(::std::string_view
const name,
int count,
int auxValue);
143 MCAPI
void $setNull(::std::optional<::std::string> reason);
145 MCAPI ::std::string $toString()
const;
147 MCAPI ::std::string $toDebugString()
const;
Definition ItemUsedOnEventContext.h:8