26class ItemStack :
public ::ItemStackBase {
30 ::ll::TypedStorage<8, 24, ::ItemStackNetIdVariant> mNetIdVariant;
36 ItemStack() =
default;
42 virtual void reinit(
::Block const& block,
int count) ;
44 virtual void reinit(
::Item const& item,
int count,
int auxValue) ;
46 virtual void reinit(::std::string_view
const name,
int count,
int auxValue) ;
48 virtual void setNull(::std::optional<::std::string> reason) ;
50 virtual ::std::string toString()
const ;
52 virtual ::std::string toDebugString()
const ;
54 virtual ~ItemStack() ;
64 MCAPI ItemStack(::ItemStack
const& rhs);
66 MCAPI ::ItemStack clone()
const;
69 MCNAPI
float getDestroySpeed(
::Block const& block)
const;
71 MCNAPI ::Brightness getLightEmission()
const;
76 MCAPI
bool matchesNetIdVariant(::ItemStack
const& other)
const;
78 MCAPI ::ItemStack& operator=(::ItemStack
const& rhs);
80 MCAPI
bool sameItemAndAuxAndBlockData(::ItemStack
const& otherItemStack)
const;
82 MCAPI
void serverInitNetId();
84 MCAPI
void useAsFuel();
86 MCAPI ::InteractionResult useOn(
100 MCNAPI static ::ItemStack
112 MCAPI static ::ItemStack
const& EMPTY_ITEM();
122 MCAPI
void* $ctor(::ItemStack
const& rhs);
134 MCAPI
void $reinit(
::Block const& block,
int count);
136 MCAPI
void $reinit(
::Item const& item,
int count,
int auxValue);
138 MCAPI
void $reinit(::std::string_view
const name,
int count,
int auxValue);
140 MCAPI
void $setNull(::std::optional<::std::string> reason);
142 MCAPI ::std::string $toString()
const;
144 MCAPI ::std::string $toDebugString()
const;
Definition ItemUsedOnEventContext.h:8