Discussion in 'Development' started by FresherGAMING, Feb 11, 2022.
How to get item in api 4 ? I tried PHP: Item::get($id, $meta, $count) but it didnt work
Item::get($id, $meta, $count)
Hi! Try this: PHP: $item = ItemFactory::getInstance()->get($id, $meta, $count);
$item = ItemFactory::getInstance()->get($id, $meta, $count);
It worked tysm
if you want to get a Vanilla Items then you should use VanillaItems::ITEM_NAME()