This is working in my testworld...the only difference is that I am in the snapshot but, the commands should be the same so, I don't know what is wrong...
I made a new world with the command block chain and it seemed to work at first but the outputs for command block numbers 1 thru 4 say :The dataTag does not match for Fire9993, Any thoughts?
It keeps raising my score by 4 points (see screenshot). The output for /effect @a[score_Armor=4,score_Armor_min=4] minecraft:fire_resistance 6 3 false juyst says - , and for /scoreboard players set @a Armor 0 it says: players set <player> <objective> <score> [dataTag,] There is no ouput for the 5 command block which i think is one of the issues
Your command blocks are not being powered correctly, the redstone clock is too close to the repeaters causing everything to be powered all the time. Move the redstone block and comparator 2-3 blocks away from the first command block.
Ok i moved them away and it seems to keep raising my score until i take the armor off, but it isn't applying the fire resistance to me when the full set is on.
The problem is in setting the score_Armor=4 requirement. That's actually a max score requirement, so:
/effect @a[score_Armor=4,score_Armor_min=4] minecraft:fire_resistance 6 3 false
requires a score of exactly 4, which you do not meet as you've exceeded 4.
A much simpler and compact way would be to do it like this:
1) Place three command blocks next to each other, make a note of which command block is at the most negative position.
2) Into the most negative command block, paste this:
5) Link all the command blocks up to the same clock by running power into the middle command block.
When powered at the same time, command blocks will always run the block at the most negative co-ordinates first, then run through each command block sequentially, so you don't actually need any repeaters, so long as you get the placement right.
If you want you can use "/scoreboard objectives setdisplay sidebar Armor" to see the score off all players whilst you're testing this out. to remove the sidebar, just repeat the command without the last word.
With this setup the score will always be 1 or 0, and responds much faster as it doesn't wait for the repeater delay
As an aside question, why are you using Fire resistance level 4? There's really no need as fire resistance is an all or nothing effect, and it can cause the effect name to clip outside the box. If you weren't aware that you're doing it, then the second number in your /effect command is the amplifier, you can leave it at 0 to get effect level 1.
Here are the Commands:
/scoreboard objectives add Armor dummy
/scoreboard players add @a Armor 1 {Inventory:[{Slot:100b,id:minecraft:iron_boots}]}
/scoreboard players add @a Armor 1 {Inventory:[{Slot:101b,id:minecraft:iron_leggings}]}
/scoreboard players add @a Armor 1 {Inventory:[{Slot:102b,id:minecraft:iron_chestplate}]}
/scoreboard players add @a Armor 1 {Inventory:[{Slot:103b,id:minecraft:iron_helmet}]}
/effect @a[score_Armor=4,score_Armor_min=4] minecraft:fire_resistance 6 3 false
/scoreboard players set @a Armor 0
This is working in my testworld...the only difference is that I am in the snapshot but, the commands should be the same so, I don't know what is wrong...
Command blocks are fun
"Not all who wander are lost"
see if facing it in another direction works.
or chain command block.
or you can /setworldspawn
while standing in the middle of it.
that could work too.
I made a new world with the command block chain and it seemed to work at first but the outputs for command block numbers 1 thru 4 say :The dataTag does not match for Fire9993, Any thoughts?
It keeps raising my score by 4 points (see screenshot). The output for /effect @a[score_Armor=4,score_Armor_min=4] minecraft:fire_resistance 6 3 false juyst says - , and for /scoreboard players set @a Armor 0 it says: players set <player> <objective> <score> [dataTag,] There is no ouput for the 5 command block which i think is one of the issues
Ok i moved them away and it seems to keep raising my score until i take the armor off, but it isn't applying the fire resistance to me when the full set is on.
You should just use a fill clock. it will work more efficiently and might fix your problems
Command blocks are fun
"Not all who wander are lost"
The problem is in setting the score_Armor=4 requirement. That's actually a max score requirement, so:
/effect @a[score_Armor=4,score_Armor_min=4] minecraft:fire_resistance 6 3 false
requires a score of exactly 4, which you do not meet as you've exceeded 4.
A much simpler and compact way would be to do it like this:
1) Place three command blocks next to each other, make a note of which command block is at the most negative position.
2) Into the most negative command block, paste this:
3) Into the next most negative block, paste this:
4) Into the final command block paste this:
5) Link all the command blocks up to the same clock by running power into the middle command block.
When powered at the same time, command blocks will always run the block at the most negative co-ordinates first, then run through each command block sequentially, so you don't actually need any repeaters, so long as you get the placement right.
If you want you can use "/scoreboard objectives setdisplay sidebar Armor" to see the score off all players whilst you're testing this out. to remove the sidebar, just repeat the command without the last word.
With this setup the score will always be 1 or 0, and responds much faster as it doesn't wait for the repeater delay
Check out my Youtube channel, where I build a theme park in vanilla Minecraft!
https://www.youtube.com/playlist?list=PLeCiIIOoWhe-mq3nYd_nXXrKw9MkjnUU7
IT HAS FINALLY WORKED!!! thank you to all who helped me, it is greatly appreciated!
One last question how would i put names for specific armor pieces in, example Lava Boots, Lava Leggings, Lava Chestplate, and Lava Helmet?
You need to add a display name tag to the item, so after the item ID, place:
tag:{display:{Name:"Lava Helmet"}}
changing the string for each item. So in the end, your scoreboard command will look like this:
/scoreboard players add @a Test 1 {Inventory:[{Slot:100b,id:minecraft:iron_boots,tag:{display:{Name:"Lava Boots"}}},{Slot:101b,id:minecraft:iron_leggings,tag:{display:{Name:"Lava Leggings"}}},{Slot:102b,id:minecraft:iron_chestplate,tag:{display:{Name:"Lava Chestplate"}}},{Slot:103b,id:minecraft:iron_helmet,tag:{display:{Name:"Lava Helmet"}}}]}
As an aside question, why are you using Fire resistance level 4? There's really no need as fire resistance is an all or nothing effect, and it can cause the effect name to clip outside the box. If you weren't aware that you're doing it, then the second number in your /effect command is the amplifier, you can leave it at 0 to get effect level 1.
Check out my Youtube channel, where I build a theme park in vanilla Minecraft!
https://www.youtube.com/playlist?list=PLeCiIIOoWhe-mq3nYd_nXXrKw9MkjnUU7