If typed in chat, the /stats block ~ ~-1 ~ set SuccessCount @e[type=Squid] SucessCount
does not apply to the squid, but to a imaginary player, which can't be selected by command blocks, because you simply can't do /scoreboard players set @e[type=Squid] 0 which would target the squid but the imaginary player.
Attachments
Comments 9
Might be MC-79632, but can you rather add a screenshot showing the imaginary player? (Maybe do */scoreboard objectives setdisplay sidebar SucessCount*
and then run a command on the squid)
I can't display @e[type=Squid] it would display the squid, not the imaginary player called "@e[type=Squid] " This chat message proves that the stats would be stored in the player "@e[type=Squid]".. if it could be displayed in the sidebar.
I don't really understand what you are trying to say. How do you then recognize that it stores the value for a imaginary player?
It would store it for the player "@e[type=Squid]"... If it would have the score of SucessCount 0, because i can't set it to 0 (Because @e[type=Squid] would target all Squids instead of the player named "@e[type=Squid]) it doesn't store anything, because there's nothing named "@e[type=Squid] on the scoreboard "SucessCount"
I may misunderstand you, but the scoreboard stores value not for "@e" or similar selectors. Only for players it stores it for the player name. For every other entity (like squids) it stores it for their UUID like 550e8400-e29b-41d4-a716-446655440000
Even though the command feedback is "Storing ... on @e[type=Squid]" it actually stores it for the UUID of each squid.
Cannot confirm for 1.8.4 Howver your command has a spelling mistake:
*/stats block ~ ~-1 ~ set SuccessCount @e[type=Squid] SucessCount*
Can you please add a screenshot showing this imaginary player?