mojira.dev
MC-89230

Command blocks not changing scoreboards

Using commands on command blocks (specifically chain ones) to change scoreboard values. Specifically ones using execute commands.

Comments 8

More specifically execute @e[type=Zombie,ry=90] ~ ~ ~ scotreboard players set @e[c=1] rotation 90

When using ry, you also require rym or it won't work

You put "scotreboard" instead of "scoreboard". Does this fix your problem?

Sorry I typed the command in wrong to this comment. It is execute @e[type=Zombie,rym=88,ry=90] ~ ~ ~ scoreboard players set @e[c=1] rotation 90

To my understanding this should set any zombie with a rotation minimum of 88 and a maximum of 90 to a score of rotation equals 90

Either this doesn't change to scoreboard score or it is not displaying the change from the score

Tried your setup.

[18:36:46] [Client thread/INFO]: [CHAT] [Zombie: Set score of rotation for player redstonehelper to 90]

Use a better selector for the second @e.

Should @e select the closest entity executing the command? There for the zombie executing the command?

Ben shabowski

(Unassigned)

Unconfirmed

Minecraft 15w39a

Retrieved