Displaying sidebar scores of entities with CutomName

Displaying sidebar scores of entities with CutomName - Text

I'm trying to make a countdown called "Preparation", showing the seconds before game starts. In order to do that I created a team, "P" and joined a horse with custom name "TimeRemaining" and an objective called Preparation, setting the horse's score every second, so the sidebar would look like this:

Preparation (objective)

Time Remaining 60 (Seconds based on the horse's score)

But it instead uses the hexadecimal UUID of the horse looking like this:

Preparation

uuu-00045634534547dhninqw843 60

Is there any way to force Minecraft using the customName, or an alternative way to represent the countdown?



Best Answer

Armor stands and snowballs and non AI entities are the only mobs that show their name not a UUID, I suggest you use Armor stand instead of a horse to do this.

Also make sure your in 1.9 before 1.9 Entities could not join teams.




Pictures about "Displaying sidebar scores of entities with CutomName"

Displaying sidebar scores of entities with CutomName - Hand Holding Phone Displaying Inspirational Message
Displaying sidebar scores of entities with CutomName - Senior man separated with red line from pc screen displaying discriminating inscription
Displaying sidebar scores of entities with CutomName - Hand Holding Phone Displaying Plant Wallpaper





How to display multiple scores on one sidebar in vanilla!




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Nemuel Sereti, Castorly Stock, Ron Lach, Castorly Stock