# IScriptInventory.getStack [← IScriptInventory](index.md) · [← Master](../../wiki.md) getStack(int index) IScriptItemStack Get stack in slot at given index. boolean hasCustomName() Whether this inventory has a name.