When in battle, a view of the entity in battle is shown next to their name when selecting an Entity to attack.
There is no problem in NeoForge, but in the Forge version of the mod, all the displayed entities will always be the last one.
Seems to be a glitch with the renderer expecting only one entity to draw (but it still works with multiple Entities in the NeoForge version).