I've noticed some servers are able to put "tags" if you like, before the usernames in the TAB menu, for instance Hypixel, in their Mega Walls minigame, puts the player's class tag after the name like so:
https://gyazo.com/85b510abe60e5b191862b18eab05cf7b
How do I get this information? I can iterate through the player names like so:
Collection<NetworkPlayerInfo> test = mc.getNetHandler().getPlayerInfoMap();
for(NetworkPlayerInfo n : test){
// Do stuff with names.
}
But I can't find that extra tag anywhere, can I get it a different way?