Variable: id - ScreamingSandals/SimpleInventories GitHub Wiki

id

This marks your item with id for future clones or adjustments!

Yaml:

- id: "myBestItem" 
  ...

Groovy:

item('...') {
  id 'myBestItem'
}
/* ... */

Then you will have to use ids on other places with $ prefix: $myBestItem