Buggy code:
@ Optional . InterfaceList ( { @ ( modid = "CoFHAPI|energy" , iface = "cofh.api.energy.IEnergyContainerItem" ) , @ ( modid = "CoFHCore" , iface = "cofh.core.item.IEqualityOverrideItem" ) } ) public abstract class ToolCore extends Item implements IEnergyContainerItem , IEqualityOverrideItem , IModifyable { protected Random random = new Random ( ) ; protected int damageVsEntity ; public static IIcon blankSprite ; public static IIcon emptyIcon ; public ToolCore ( int baseDamage ) { } @ Override public String getBaseTagName ( ) { } @ Override public String getModifyType ( ) { } public int durabilityTypeHandle ( ) { } public int durabilityTypeAccessory ( ) { } public int durabilityTypeExtra ( ) { } public int getModifierAmount ( ) { } public String getToolName ( ) { } public String getLocalizedToolName ( ) { } public HashMap < Integer , IIcon > headIcons = new HashMap < Integer , IIcon > ( ) ; public HashMap < Integer , IIcon > brokenIcons = new HashMap < Integer , IIcon > ( ) ; public HashMap < Integer , IIcon > handleIcons = new HashMap < Integer , IIcon > ( ) ; public HashMap < Integer , IIcon > accessoryIcons = new HashMap < Integer , IIcon > ( ) ; public HashMap < Integer , IIcon > effectIcons = new HashMap < Integer , IIcon > ( ) ; public HashMap < Integer , IIcon > extraIcons = new HashMap < Integer , IIcon > ( ) ; public HashMap < Integer , String > headStrings = new HashMap < Integer , String > ( ) ; public HashMap < Integer , String > brokenPartStrings = new HashMap < Integer , String > ( ) ; public HashMap < Integer , String > handleStrings = new HashMap < Integer , String > ( ) ; public HashMap < Integer , String > accessoryStrings = new HashMap < Integer , String > ( ) ; public HashMap < Integer , String > effectStrings = new HashMap < Integer , String > ( ) ; public HashMap < Integer , String > extraStrings = new HashMap < Integer , String > ( ) ; @ SideOnly ( Side . CLIENT ) @ Override public boolean requiresMultipleRenderPasses ( ) { } @ SideOnly ( Side . CLIENT ) @ Override public int getRenderPasses ( int metadata ) { <START_BUG> return 9 ; <END_BUG> } @ Override @ SideOnly ( Side . CLIENT ) public boolean hasEffect ( ItemStack par1ItemStack ) { } public int getPartAmount ( ) { } public abstract String getIconSuffix ( int partType ) { } public abstract String getEffectSuffix ( ) { } public abstract String getDefaultFolder ( ) { } public String getDefaultTexturePath ( ) { } public void registerPartPaths ( int index , String [ ] location ) { } public void registerAlternatePartPaths ( int index , String [ ] location ) { } public void registerEffectPath ( int index , String location ) { } @ Override public void registerIcons ( IIconRegister iconRegister ) { } protected void addIcons ( HashMap < Integer , String > textures , HashMap < Integer , IIcon > icons , IIconRegister iconRegister , String standard , boolean defaultOnly ) { } @ Override @ SideOnly ( Side . CLIENT ) public IIcon getIconFromDamage ( int meta ) { } @ Override @ SideOnly ( Side . CLIENT ) public IIcon getIcon ( ItemStack stack , int renderPass ) { } protected IIcon getCorrectIcon ( Map < Integer , IIcon > icons , int id ) { } @ Override @ SideOnly ( Side . CLIENT ) public void addInformation ( ItemStack stack , EntityPlayer player , List list , boolean par4 ) { } public static String getStyleForType ( int type ) { } public String getAbilityNameForType ( int type , int part ) { } public String getReinforcedName ( int head , int handle , int accessory , int extra , int unbreaking ) { } String getReinforcedString ( int reinforced ) { } public void onEntityDamaged ( World world , EntityLivingBase player , Entity entity ) { } @ Override public void getSubItems ( Item id , CreativeTabs tab , List list ) { } public void buildTool ( int id , String name , List list ) { } public abstract Item getHeadItem ( ) { } public abstract Item getAccessoryItem ( ) { } public Item getExtraItem ( ) { } public Item getHandleItem ( ) { } @ Override public void onUpdate ( ItemStack stack , World world , Entity entity , int par4 , boolean par5 ) { } public abstract String [ ] getTraits ( ) { } @ Override public boolean onBlockStartBreak ( ItemStack stack , int x , int y , int z , EntityPlayer player ) { } @ Override public boolean onBlockDestroyed ( ItemStack itemstack , World world , Block block , int x , int y , int z , EntityLivingBase player ) { } @ Override public float getDigSpeed ( ItemStack stack , Block block , int meta ) { } @ Override public boolean onLeftClickEntity ( ItemStack stack , EntityPlayer player , Entity entity ) { } @ Override public boolean hitEntity ( ItemStack stack , EntityLivingBase mob , EntityLivingBase player ) { } public boolean pierceArmor ( ) { } public float chargeAttack ( ) { } public int getDamageVsEntity ( Entity par1Entity ) { } public float getDurabilityModifier ( ) { } public float getRepairCost ( ) { } public float getDamageModifier ( ) { } @ Override public int getColorFromItemStack ( ItemStack stack , int renderPass ) { } protected int getCorrectColor ( ItemStack stack , int renderPass , NBTTagCompound tags , String key , Map < Integer , IIcon > map ) { } protected int getDefaultColor ( int renderPass , int materialID ) { } @ Override public ItemStack onItemRightClick ( ItemStack stack , World world , EntityPlayer player ) { }

Fix:
return 0 ;