Item Format
SpellItems and DvZ use a custom format for items to be able to use Custom Items and Custom Enchants.
This page documents the format used since DvZ 1.7.1 and SpellItems 2.0. For older Versions look into their classes.yml.
Format
<ItemName> <damagevalue> <min_count>:<max_count> <chance_to_get_item> <customEnchantmentName>:<level>,... <permission> <dataTag>
Every Element except for ItemName can be left out. But if you want to use a Element from the back(e.g dataTag) you have to specify all of the ones before that. DvZ version 1.7.1 and SpellItems version 2.0 require a "!" in front of the Itemdeclarations. All newer Versions do not have this requirenment.
Element | Description |
---|---|
ItemName | Either a vanilla minecraft item name (e.g. minecraft:stone) or spellitems:[internal_Name_of_Custom_Item] |
damagevalue | The item damage/data value. |
min_count:max_count | Actual ammount of Items given is decided randomly.
Use only min_count and leave out ":<max_count>" to specify an exact ammount. |
chance_to_get_item | Random chance of actually getting this item (percentage 0-100). |
customEnchantmentName:level | A list of custom enchants and their levels sepperated by a ","
Use -1 as the NAME to completly ignore enchants |
permission | Only players with this permission get this item. Use . to ignore |
dataTag | The JSON formated dataTag just like in the vanilla give command. Minecraft Wiki |