It will be useful for creating traps and playing in survival mode etc. You have to be within 24 blocks of the mob to display the bar. Otherwise, if the mob can fly or has any target, the bar is displayed. Bar now flashes when mobs are hostile. Transparency now changes with distance. Updated files.