Minecraft scoreboard targeting all entities when filtered
Ok, so let me explain. I have 3 scoreboards set up: use
, which tests for when a player breaks an emerald block, att
to move the use
score over to, and targ
which is set when someone is being targeted, which should be a 10 block radius that is not the executor. The problem is that targ
is given to everyone in the 10 block radius, including the executor.
Here are the commands that are fine.
testfor @a[score_use_min=1]
which is on a clock, running into scoreboard players set @a[score_use_min=1] att 1
into scoreboard players set @a use 0
into the command block with the problem, this one:
execute @a[score_att_min=1] ~ ~ ~ scoreboard players set @e[r=10,score_att==0] targ 1
. What's wrong with it? Why is every entity in the 10 block radius given the targ
score of one?
Pictures about "Minecraft scoreboard targeting all entities when filtered"
How do you make a Timeboard in Minecraft scoreboard?
Add two scores (Addition)...Summary: quick table.+=Addition: Add second's score to that of first=Assign: Set target's score to that of source%=Modulus: Divide first's score by second's score, and use the remainder to set the first score<Min: Set first's score to second's score only if second has the lesser score.5 more rows•May 19, 2020Target Selectors | Minecraft Bedrock | Command Augments | dx, dy, dz, r, rm, type, family, l, lm etc
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Matteo Basile, Heorhii Heorhiichuk, Amirhesam Golzar, Pixabay