mojira.dev
MC-49844

The @e selector is buggy in "/scoreboard player" if you specify "type=" and "c=".

If I use the commands:
say @e[type=!Player,c=1]
say @e[type=!Player,c=2]
while I have a few other entities in my world I get their names as output into the chat as expected.

While the dummy objective "o" exists, if I do:
scoreboard players set @e[type=!Player,c=1] o 1
I get: {{"That player cannot be found"}}
Whereas:
scoreboard players set @e[type=!Player,c=2] o 1
works like intended and successfully sets the appropriate two scores.


According to my testing so far the same error applies for:

scoreboard players add @e[type=!Player,c=1] o 1
scoreboard players remove @e[type=!Player,c=1] o 1
scoreboard players operation @e[type=!Player,c=1] o += a o
as for *-=, {{=}}*, /= and %= of course.
Also with anything else for type:
say @e[type=MinecartRideable,c=1]

Comments 5

Sometimes if you change the entity selector to something else and then change it back it works for a short time, but then it randomly stops working again.

Can't reproduce, I believe this was fixed?

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.

Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. We will reopen it as soon as the requested information has been delivered.

Cannot confirm for 1.8.6

Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.

Frank Steffahn

(Unassigned)

Unconfirmed

Minecraft 14w08a

Retrieved