
<!-- 

IMPORTANT:
  This is the core recipe file. Modifying this file will have no effect.
  It will be rewritten by EnderIO and all modifications made to it will be lost. To add
  or modify recipes please use 'EnchanterRecipes_User.xml'
  
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" number="16"/> 
  </enchantment>

  <enchantment name="enchantment.protect.fire" costPerLevel="2">
    <itemStack modID="minecraft" itemName="blaze_powder" number="16"/>
  </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" number="16"/>
  </enchantment>

  <enchantment name="enchantment.protect.projectile" costPerLevel="2">
    <itemStack modID="minecraft" itemName="arrow" number="16"/>
  </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" number="12"/>
  </enchantment>

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

  <enchantment name="enchantment.damage.arthropods" costPerLevel="2">
    <itemStack modID="minecraft" itemName="spider_eye" number="12"/>
  </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" number="8"/>
  </enchantment>

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

  <enchantment name="enchantment.digging" costPerLevel="1">
    <itemStack modID="minecraft" itemName="redstone" number="12"/>
  </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" number="4"/>
  </enchantment>

  <enchantment name="enchantment.arrowDamage" costPerLevel="1">
    <itemStack modID="minecraft" itemName="flint" number="12"/>
  </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.enderio.soulBound" costPerLevel="21">
    <itemStack modID="EnderIO" itemName="itemMaterial" itemMeta="8"/>
  </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>

  <enchantment name="enchantment.repair" costPerLevel="6">
    <itemStack modID="minecraft" itemName="anvil"/>
  </enchantment>

</enchaterRecipes>
