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) ;
25 virtual ~ItemInstance() ;
33 MCAPI ItemInstance(::ItemInstance
const& rhs);
35 MCAPI
explicit ItemInstance(::ItemStackBase
const& rhs);
37 MCAPI ItemInstance(
::Block const& block,
int count = 1,
::CompoundTag const* _userData =
nullptr);
39 MCAPI ItemInstance(
::Item const& item,
int count = 1,
int auxValue = 0,
::CompoundTag const* _userData =
nullptr);
41 MCAPI ItemInstance(::std::string_view name,
int count = 1,
int auxValue = 0,
::CompoundTag const* _userData =
nullptr);
43 MCAPI ::ItemInstance clone()
const;
49 MCAPI static ::ItemInstance fromTag(
::CompoundTag const& tag);
55 MCAPI static ::ItemInstance
const& EMPTY_ITEM();
63 MCAPI
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);
83 MCAPI
void $reinit(
::Block const& block,
int count);
85 MCAPI
void $reinit(
::Item const& item,
int count,
int auxValue);
87 MCAPI
void $reinit(::std::string_view
const name,
int count,
int auxValue);