Skip to content

Variable: clone

Misat11 edited this page Dec 14, 2019 · 6 revisions

clone

This property can clone another item variables to your item!

There are three types:

  1. previous - This clones previous item.
  2. $id - This clones item with id. Item with id must be created before this!
  3. cosmetic - This clones cosmetic itemstack. This ItemStack is parameter for StaticGuiCreator.
- stack:
    ==: org.bukkit.inventory.ItemStack
    ...
- clone: previous
  items:
  - ...

You can also clone cosmetic with this short format:

...
- STONE
- cosmetic # <---
- STONE
...
Clone this wiki locally