mojira.dev

Adrian Frost

Assigned

No issues.

Reported

MC-117178 Using the stats command to display "AffectedBlocks" on the sidebar doesn't work correctly Invalid MC-80390 /stats block command not applying to entity selectors in chat Fixed

Comments

Yes you're quite right. I did not think about that, I thought AffectedBlocks on command blocks worked with /execute aswell.

It works perfectly fine when you tie it to the player directly, I guess this would be resolved then.

Sure!

Here's the first command I used and the Output it showed after I pressed the button:

[media]

I now placed an armorstand named "stats" on the command block and I myself also stood on the block. I then executed the following command:

[media]

[media]

I now set the score of the player "@e[type=armor_stand,name=stats]" to 0 for the objective "Coordinate":

[media]

I now pressed the button and the following happened:

[media]

[media]

These are all correct and the stats command was working properly. Now I changed the command to the following:

[media]

I then executed the command, while being at a different y Coordinate so I'd get a different output than 5, and the scoreboard didn't change (It should display "4" now):

[media]

As you hopefully can see (It is a bit difficult to read to be honest) the scoreboard didn't change, the Output however did.

Reapplying the /stats command or changing the entity involved doesn't change the outcome.

Nevermind, it has been fixed in 1.8.6 ^^

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 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 edited it, sry for bad english but that's the best i could do.