Complete NOOB here xD I want the command block to test for a wooden axe in a specific radius. If there is a wooden axe near by I want the command block output to be false. Basically, if the player has a wooden axe or has stashed one in the map area I don't want them to be able to accumulate another one. <---- I made a command block that gives a player a wooden axe when they push a button.. but they only need one
Complete NOOB here xD I want the command block to test for a wooden axe in a specific radius. If there is a wooden axe near by I want the command block output to be false. Basically, if the player has a wooden axe or has stashed one in the map area I don't want them to be able to accumulate another one. <---- I made a command block that gives a player a wooden axe when they push a button.. but they only need one
If you mean that you want to test for an axe in their inventory, use this:
Complete NOOB here xD I want the command block to test for a wooden axe in a specific radius. If there is a wooden axe near by I want the command block output to be false. Basically, if the player has a wooden axe or has stashed one in the map area I don't want them to be able to accumulate another one. <---- I made a command block that gives a player a wooden axe when they push a button.. but they only need one
that sounds cool, but does anyone know a way to fix the looping problem?
nvm, fixed that, but is there a way to add one players score to another? but then the original player keeps he score they had? like a player has 2 score, the other has 5 and the other gets 2, totaling to 7, but the guy still keeps 2. how can I make it so the amount of the giver transfers over to the receiver, even when the amount of the giver changes?
ok, this is stupid, I cant make the third command block in a row trigger. The first is a testfor for 10 Diamonds, the next adds 1 Diamond/Sec, But then when I try to remove 10 Diamonds, it doesn't work, so I put it to the side and numbers can go negative, which breaks the game. any fixes?
When I post the map, everyone who helps Im gonna list idk if that motivates any1 but eh I mean I couldn't have done it without you guys
I'm making a 1.9 Diamond Clicker, And I'm working on making an automatic system for each item so that Diamonds can't go negative. Earlier I listed my Coomands im using in a Impulse-Chain-Chain-Chain style, so they all activate, but Diamonds can go negative, breaking the game. that's where I need help. I need a system where Numbers can't go negative
I am making a Diamond clicker map in Minecraft and I can't seem to figure out the testfor command
My current command is /testfor @p {score_Diamonds_min=10}
But it always says:
Data tag parsing failed: unable to locate name/value separator for string: score_diamonds_min=10
Can any1 help?
You need:
That made it say "The entity UUID provided is in an invalid format"
If I put a space between @p and the [ it says "Data parsing failed: invalid tag encountered, expected '{' as first char."
Is there any other way?
IT WORKED! Thanks!
Is there a way to make it so after it triggers, it shuts off? that's messing me up now
If you want it to just turn back to 0 so it doesnt loop then use:
I still can't understand why NASA cant find hoiland! It is a cool place!
I need the Amount to just go down by ten, not reset to 0
I did that and it gave me the initial result
I need some help with the testfor command aswell.
Complete NOOB here xD I want the command block to test for a wooden axe in a specific radius. If there is a wooden axe near by I want the command block output to be false. Basically, if the player has a wooden axe or has stashed one in the map area I don't want them to be able to accumulate another one. <---- I made a command block that gives a player a wooden axe when they push a button.. but they only need one
If you mean that you want to test for an axe in their inventory, use this:
that sounds cool, but does anyone know a way to fix the looping problem?
nvm, fixed that, but is there a way to add one players score to another? but then the original player keeps he score they had? like a player has 2 score, the other has 5 and the other gets 2, totaling to 7, but the guy still keeps 2. how can I make it so the amount of the giver transfers over to the receiver, even when the amount of the giver changes?
thank you so much! You solved my problems
ok, this is stupid, I cant make the third command block in a row trigger. The first is a testfor for 10 Diamonds, the next adds 1 Diamond/Sec, But then when I try to remove 10 Diamonds, it doesn't work, so I put it to the side and numbers can go negative, which breaks the game. any fixes?
When I post the map, everyone who helps Im gonna list idk if that motivates any1 but eh I mean I couldn't have done it without you guys
ofc 1 sec
Command Block 1: testfor @p[score_Diamonds_min=10] - Working
Command Block 2: scoreboard players add D/Sec Diamonds 1 - Working
Command Block 3: scoreboard players remove @p Diamonds 10 - Not Working, Works when I type cmd in chat
Command Block 4: scoreboard players add NoobMiner Diamonds 1 -Not Working, same as cmd 3
Hope u can help
impulse and needs redstone
I fixed it by making 2 3 and 4 chain, ty anyway I wouldn't have know always active about chain
that didn't work I thought it did but score could still go negative, all activated tho
SOMEONE HELP PLEASE!
It unfixed, everything activates but score can go negative
I'm making a 1.9 Diamond Clicker, And I'm working on making an automatic system for each item so that Diamonds can't go negative. Earlier I listed my Coomands im using in a Impulse-Chain-Chain-Chain style, so they all activate, but Diamonds can go negative, breaking the game. that's where I need help. I need a system where Numbers can't go negative
Command Block 1: testfor @p[score_Diamonds_min=10] - Impulse
Command Block 2: scoreboard players add D/Sec Diamonds 1 - Chain
Command Block 3: scoreboard players remove @p Diamonds 10 - Chain
Command Block 4: scoreboard players add NoobMiner Diamonds 1 - Chain
Here are my commands so far, and I want to only remove diamonds if score is greater than 10, but I tried with 0 and it still worked
singleplayer and I tried that it didn't work
yea and let me try that