ok so i am trying to make a redstone setup search for a snowball in a radius of a player, on top of this the player has to be on the scoreboard team Archer that i has set upp. i obviously know that the command above is wrong.
Snowballs are not items, nor do they have the name "snowball" (as it's case-sensitive). Your command would only work if there is a snowball 1 block away from the command block due to the initial @e selector.
The more commands that are run requires more processing to be done. Using the second /execute in that manner is redundant, since you are using the exact same selector in /scoreboard, and only adds to server lag.
Snowballs are not items, nor do they have the name "snowball" (as it's case-sensitive). Your command would only work if there is a snowball 1 block away from the command block due to the initial @e selector.
The more commands that are run requires more processing to be done. Using the second /execute in that manner is redundant, since you are using the exact same selector in /scoreboard, and only adds to server lag.
ok so i am trying to make a redstone setup search for a snowball in a radius of a player, on top of this the player has to be on the scoreboard team Archer that i has set upp. i obviously know that the command above is wrong.
The command you are looking for is:
it does not work
Snowballs are not items, nor do they have the name "snowball" (as it's case-sensitive). Your command would only work if there is a snowball 1 block away from the command block due to the initial @e selector.
The more commands that are run requires more processing to be done. Using the second /execute in that manner is redundant, since you are using the exact same selector in /scoreboard, and only adds to server lag.
You need to provide the error occurring.
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
sorry didn't have time to test it i just did what sounded right in my head. what you've said is right.