-
-
Notifications
You must be signed in to change notification settings - Fork 3
Variable: clone
Misat11 edited this page May 9, 2020
·
6 revisions
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')
...
Can't find what are you looking for on this wiki? Maybe our automatically generated javadoc could help you https://docs.screamingsandals.org/simpleinventories/simpleinventories-core/
- Welcome on this wiki
- Formats:
- Variables:
- Callbacks: (Groovy only)
-
Examples:
- Making shop (Groovy only)
- Making vault shop (Groovy only)