
<!-- 
Costs are calculated as follows:
level = enchantmentItem.stackSize
levelCost = Config.enchanterBaseLevelCost;
for (int i = 0; i < level; i++) {
  levelCost += costPerLevel * level;
}
 -->

<enchaterRecipes>

  <enchantment name="enchantment.protect.all" costPerLevel="1">
    <itemStack modID="EnderIO" itemName="itemAlloy" itemMeta="6"/> 
  </enchantment>

  <enchantment name="enchantment.protect.fire" costPerLevel="2">
    <itemStack modID="minecraft" itemName="blaze_powder"/>
  </enchantment>

  <enchantment name="enchantment.protect.fall" costPerLevel="2">
    <itemStack modID="minecraft" itemName="feather"/>
  </enchantment>

  <enchantment name="enchantment.protect.explosion" costPerLevel="2">
    <itemStack modID="minecraft" itemName="gunpowder"/>
  </enchantment>

  <enchantment name="enchantment.protect.projectile" costPerLevel="2">
    <itemStack modID="minecraft" itemName="arrow"/>
  </enchantment>

  <enchantment name="enchantment.oxygen" costPerLevel="4">
    <itemStack modID="minecraft" itemName="glass_bottle"/>
  </enchantment>

  <enchantment name="enchantment.waterWorker" costPerLevel="4">
    <itemStack modID="minecraft" itemName="waterlily"/>
  </enchantment>

  <enchantment name="enchantment.thorns" costPerLevel="8">
    <itemStack modID="minecraft" itemName="double_plant" itemMeta="4"/>
  </enchantment>

  <enchantment name="enchantment.damage.all" costPerLevel="1">
    <itemStack modID="minecraft" itemName="quartz"/>
  </enchantment>

  <enchantment name="enchantment.damage.undead" costPerLevel="2">
    <itemStack modID="minecraft" itemName="rotten_flesh"/>
  </enchantment>

  <enchantment name="enchantment.damage.arthropods" costPerLevel="2">
    <itemStack modID="minecraft" itemName="spider_eye"/>
  </enchantment>

  <enchantment name="enchantment.knockback" costPerLevel="2">
    <itemStack modID="minecraft" itemName="piston"/>
  </enchantment>

  <enchantment name="enchantment.fire" costPerLevel="4">
    <itemStack modID="minecraft" itemName="blaze_rod"/>
  </enchantment>

  <enchantment name="enchantment.lootBonus" costPerLevel="4">  
    <itemStack oreDictionary="itemSkull"/>    
  </enchantment>

  <enchantment name="enchantment.digging" costPerLevel="1">
    <itemStack modID="minecraft" itemName="redstone"/>
  </enchantment>

  <enchantment name="enchantment.untouching" costPerLevel="26">
    <itemStack modID="minecraft" itemName="slime_ball"/>
  </enchantment>

  <enchantment name="enchantment.durability" costPerLevel="2">
    <itemStack modID="minecraft" itemName="obsidian"/>
  </enchantment>

  <enchantment name="enchantment.lootBonusDigger" costPerLevel="4">
    <itemStack modID="minecraft" itemName="emerald"/>
  </enchantment>

  <enchantment name="enchantment.arrowDamage" costPerLevel="1">
    <itemStack modID="minecraft" itemName="flint"/>
  </enchantment>

  <enchantment name="enchantment.arrowKnockback" costPerLevel="4">
    <itemStack modID="minecraft" itemName="string"/>
  </enchantment>

  <enchantment name="enchantment.arrowFire" costPerLevel="1">
    <itemStack modID="minecraft" itemName="netherrack"/>
  </enchantment>

  <enchantment name="enchantment.arrowInfinite" costPerLevel="26">
    <itemStack modID="minecraft" itemName="ender_pearl"/>    
  </enchantment>

  <enchantment name="enchantment.lootBonusFishing" costPerLevel="4">
    <itemStack modID="minecraft" itemName="dye" itemMeta="4"/>
  </enchantment>

  <enchantment name="enchantment.fishingSpeed" costPerLevel="4">
    <itemStack modID="minecraft" itemName="fish"/>
  </enchantment>
  
  <enchantment name="enchantment.enderzoo.witherArrow" costPerLevel="6">
    <itemStack modID="EnderZoo" itemName="witheringDust"/>
  </enchantment>
  
  <!-- The wither potion in the creative tab has a meta of 8235 while a brewed potion has one of 8203 
       so adding both-->
  <enchantment name="enchantment.enderzoo.witherWeapon" costPerLevel="6">
    <itemStack modID="minecraft" itemName="potion" itemMeta="8235"/>
  </enchantment>
  
  <enchantment name="enchantment.enderzoo.witherWeapon" costPerLevel="6">
    <itemStack modID="minecraft" itemName="potion" itemMeta="8203"/>
  </enchantment>

</enchaterRecipes>
