Changed it so that the Mending enchantment consumes the EXP before the Tome of Peritia does

This commit is contained in:
WayofTime 2016-04-29 19:55:23 -04:00
parent 172cf86348
commit aba4332699
3 changed files with 28 additions and 1 deletions

View file

@ -33,6 +33,13 @@ public class ItemExperienceBook extends Item implements IVariantProvider
setCreativeTab(BloodMagic.tabBloodMagic);
}
@Override
@SideOnly(Side.CLIENT)
public boolean hasEffect(ItemStack stack)
{
return true;
}
@Override
@SideOnly(Side.CLIENT)
public void addInformation(ItemStack stack, EntityPlayer player, List<String> tooltip, boolean advanced)