15class ItemInstance :
public ::ItemStackBase {
19 virtual void reinit(
::Block const& block,
int count) ;
21 virtual void reinit(
::Item const& item,
int count,
int auxValue) ;
23 virtual void reinit(::std::string_view
const name,
int count,
int auxValue) ;
31 MCAPI ItemInstance(::ItemInstance
const& rhs);
33 MCAPI
explicit ItemInstance(::ItemStackBase
const& rhs);
35 MCAPI ItemInstance(
::Block const& block,
int count = 1,
::CompoundTag const* _userData =
nullptr);
37 MCAPI ItemInstance(
::Item const& item,
int count = 1,
int auxValue = 0,
::CompoundTag const* _userData =
nullptr);
39 MCAPI ItemInstance(::std::string_view name,
int count = 1,
int auxValue = 0,
::CompoundTag const* _userData =
nullptr);
41 MCAPI ::ItemInstance clone()
const;
43 MCAPI ::ItemInstance& operator=(::ItemInstance
const& rhs);
49 MCAPI static ::ItemInstance fromTag(
::CompoundTag const& tag);
55 MCAPI static ::ItemInstance
const& EMPTY_ITEM();
63 MCFOLD
void* $ctor(::ItemInstance
const& rhs);
65 MCFOLD
void* $ctor(::ItemStackBase
const& rhs);
69 MCAPI
void* $ctor(
::Item const& item,
int count,
int auxValue,
::CompoundTag const* _userData);
71 MCAPI
void* $ctor(::std::string_view name,
int count,
int auxValue,
::CompoundTag const* _userData);
77 MCAPI
void $reinit(
::Block const& block,
int count);
79 MCAPI
void $reinit(
::Item const& item,
int count,
int auxValue);
81 MCAPI
void $reinit(::std::string_view
const name,
int count,
int auxValue);
89 MCAPI
static void** $vftable();