This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I'm using 1.12 and I wanted to know how to use /testforblock to test for items in chests, I've tried the following but it doesn't work:
testforblock -11 14 -58 minecraft:chest 3 {Items:[{id:nether_star,Count:1b,Slot:1b,Damage:0s}]}
id:"minecraft:nether_star"
"Slot:1b" = second slot in 1st row.
Even changing it to "0b" the output doesn't change anything. Filling the chest with the item still leaves the output:
[17:12:59] The block at -11, 14, -58 did not have the required NBT keys
Is there a problem with the id?
That worked, thanks!
Please help me,
i tried all the commands in this but none works i keep getting the same error message HELP
I'm using 1.12 and I wanted to know how to use /testforblock to test for items in chests, I've tried the following but it doesn't work:
"Slot:1b" = second slot in 1st row.
Even changing it to "0b" the output doesn't change anything. Filling the chest with the item still leaves the output:
Is there a problem with the id?
That worked, thanks!
Please help me,
i tried all the commands in this but none works i keep getting the same error message HELP