Condensed Mob Names in Scoreboard

I am using this command to add a scoreboard so that the health of a mob can be seen:

/scoreboard players set @e[type=Zombie,name=Joe] bossHealth 100

And I want it to come up on the scoreboard as

  • Minecraft ArmorStand Teleportation
  • Converting Minecraft .lvl to .dat
  • How do you enchant and name items with /give using command blocks?
  • How can I run a Minecraft Server on multiple CPU cores?
  • Is it possible to lift a block from the bottom of the map to the top using pistons?
  • What's the fastest way to find mineshafts?
  • Joe 100

    But instead it shows up as

    0fb6ee26-3210-45b2-8043-ecab01afe679 100

    Is there a way to bypass this?

  • How can I detect if a player has a specific item with a specific datavalue in their inventory?
  • Can mobs see me through glass?
  • How can I view/edit Minecraft's level.dat file?
  • Can Minecraft be played without being connected to the Internet?
  • Is there a standalone free offline version of Minecraft?
  • Can you turn weather off in Minecraft?
  • One Solution collect form web for “Condensed Mob Names in Scoreboard”

    Yes, there is indeed a way to bypass this. First of all, create another scoreboard objective that will be used as the dummy objective:

    /scoreboard objectives add bossHealth_1 dummy

    Now place a repeating command block containing the following command:

    /scoreboard players operation Joe bossHealth = @e[type=Zombie,name=Joe] bossHealth_1

    Keep the bossHealth objective in the sidebar as a scoreboard. Then, every time that you want to change the bossHealth objective, change the bossHealth_1 objective instead and the bossHealth objective wil change automatically.

    This is because the scoreboard operations command will change the first entity’s specific score (the Joe bossHealth part) according to the second entity’s other specific score (the @e[type=Zombie,name=Joe] bossHealth_1 part), by the operation provided (the = part)

    For more about the scoreboard operations command, click here and scroll to the bottom of the table.

    We love Playing Games, especially Video Games.