Variable: clone - ScreamingSandals/SimpleInventories GitHub Wiki
clone
This property can clone another item variables to your item!
There are three types:
previous- This clones previous item.$id- This clones item with id. Item with id must be created before this!cosmetic- This clones cosmetic itemstack. This ItemStack is parameter for StaticGuiCreator.
Yaml:
- stack: ...
- clone: previous
items:
- ...
You can also clone cosmetic with this short format:
...
- STONE
- cosmetic # <---
- STONE
...
Groovy:
...
item('STONE')
itemClone('previous') {
/* items */
}
cosmetic()
item('STONE')
...