Added optional allowCrafting for custom items