Custom Items
CustomItems allows you to create your own custom items
NOTE: when I say Items, I'm talking about Items, weapons, armor, and blocks. Not just items.
# CustomItems
# =-=-=-=-=-=-=
# Example Item:
#
displayname: "&aEmerald Sword"
material: DIAMOND_SWORD
enchantments:- 'DAMAGE_ALL:5'
- 'MENDING:1'
recipe:# shape is crafting recipe (space = no item needed in slot)
shape:
- ' E '
- ' E '
- ' S '
ingredients:
- 'E:EMERALD'
- 'S:STICK'
CustomItems includes a api just import class me.isaiah.customitems.CustomItem
How to use the API:
CustomItem EmSword = new CustomItem("Emerald Sword", Material.DIAMOND_SWORD);
EmSword.addEnch(5, Enchantment.DAMAGE_ALL);
EmSword.addEnch(1, Enchantment.MENDING);
EmSword.shape(" E ", " E ", " S ");
EmSword.setIngred('E', Material.EMERALD);
EmSword.setIngred('S', Material.STICK);
EmSword.register();