24class ItemStack :
public ::ItemStackBase {
28 ::ll::TypedStorage<8, 24, ::ItemStackNetIdVariant> mNetIdVariant;
35 mValid_DeprecatedSeeComment =
true;
36 setNull(std::nullopt);
43 virtual void reinit(
::Block const& block,
int count) ;
45 virtual void reinit(
::Item const& item,
int count,
int auxValue) ;
47 virtual void reinit(::std::string_view
const name,
int count,
int auxValue) ;
49 virtual void setNull(::std::optional<::std::string> reason) ;
51 virtual ::std::string toString()
const ;
53 virtual ::std::string toDebugString()
const ;
55 virtual ~ItemStack() ;
65 MCAPI ItemStack(::ItemStack
const& rhs);
67 MCAPI ::ItemStack clone()
const;
69 MCAPI
float getDestroySpeed(
::Block const& block)
const;
72 MCAPI ::Brightness getLightEmission()
const;
75 MCAPI ::ItemStack getStrippedNetworkItem()
const;
77 MCAPI
bool matchesNetIdVariant(::ItemStack
const& other)
const;
79 MCAPI ::ItemStack& operator=(::ItemStack
const& rhs);
81 MCAPI
bool sameItemAndAuxAndBlockData(::ItemStack
const& otherItemStack)
const;
83 MCAPI
void serverInitNetId();
85 MCAPI
void useAsFuel();
87 MCAPI ::InteractionResult useOn(
102 MCAPI static ::ItemStack
114 MCAPI static ::ItemStack
const& EMPTY_ITEM();
124 MCAPI
void* $ctor(::ItemStack
const& rhs);
136 MCAPI
void $reinit(
::Block const& block,
int count);
138 MCAPI
void $reinit(
::Item const& item,
int count,
int auxValue);
140 MCAPI
void $reinit(::std::string_view
const name,
int count,
int auxValue);
142 MCAPI
void $setNull(::std::optional<::std::string> reason);
144 MCAPI ::std::string $toString()
const;
146 MCAPI ::std::string $toDebugString()
const;
154 MCAPI
static void** $vftable();
Definition ItemUsedOnEventContext.h:8