This mod adds the ability to see the nearby mobs whenever you get the message:
"You may not rest now, there are monsters nearby"
It does this by posting the coordinates of the mobs and it's name in chat.
There is also small feature that allows you to check for the nearby mobs to your own character at any time. This is disabled by default in the config so make sure to enable it if you want to use it. The default key for this option is "U" but it can be changed in the options.
You are free to use this mod in a mod pack. However, if you PM me that it is being included, I will list it below with a link to your respective modpack site.
You can find the source code for this mod here: https://github.com/VikeStep/NearbyMobFinder