Enchantments and subcodes
You can use subcodes to color the wool, give different types of wood to the user etc. You can also add enchantments to the items.
There are 4 ways:
- ITEM:AMOUNT (When you dont need subcodes/enchantments)
- ITEM:AMOUNT:DAMAGE (When you only need damage. Damage is the subcode. You can color the wool with this)
- ITEM:AMOUNT:ENCHANTMENTS:LEVEL (When you need enchantments)
- ITEM:AMOUNT:DAMAGE:ENCHANTMENT:LEVEL (When you need damage AND enchantments)
Heres a list of the different types of enchantments:
http://jd.bukkit.org/doxygen/dd/d17/classorg_1_1bukkit_1_1enchantments_1_1Enchantment.html
Comments