Testfor output doesn't show UUID or team colour
The /kill command chat output will display the entity type and UUID when hovered over. The /testfor output doesn't. Neither do any scoreboard commands.
Code analysis by Marcono1234 can be found in this comment.
Environment
Operating system: OSX 10.9.5
Java Version: 1.6.0_65
Created Issue:
Testfor output doesn't show UUID
The /kill command chat output will display the entity type and UUID when hovered over. The /testfor output doesn't.
Environment
Operating system: OSX 10.9.5
Java Version: 1.6.0_65
The /kill command chat output will display the entity type and UUID when hovered over. The /testfor output doesn't. Neither do any scoreboard commands.
The /kill command chat output will display the entity type and UUID when hovered over. The /testfor output doesn't. Neither do any scoreboard commands.
Testfor output doesn't show UUID or team colour
The /kill command chat output will display the entity type and UUID when hovered over. The /testfor output doesn't. Neither do any scoreboard commands.
The /kill command chat output will display the entity type and UUID when hovered over. The /testfor output doesn't. Neither do any scoreboard commands.
Code analysis by Marcono1234 can be found in this comment.


Tested, looks like it's true. When the /testfor command is used, it does not show the UUID for all entities.
Confirmed for
Please link to this comment in the description of the report.
The following is based on decompiled version of Minecraft 1.8 using MCP. All method and class names are the names used in the decompiled version.
The reason why this happens is that multiple commands call the public String getName() method (returns plain text) of the net.minecraft.entity.Entity class instead of the public IChatComponent getDisplayName() method.
Affected commands are (in 1.8):
1 The player name as String is here used to execute the command but to display the entity name as well
Confirmed for
Fixed in some snapshot.