execute as @a if block 74 57 321 chest{Items:[{Slot:0b, id:"minecraft:diamond", Count:1b}]} run say test
I have this in a repeating command block but nothing is happening. It doesn't show any errors, so just wondering if I'm going about this the wrong way.. I'm using 1.13 the latest update. I tried changing the selector @a but still nothing.
The Meaning of Life, the Universe, and Everything.
Join Date:
1/7/2019
Posts:
48
Minecraft:
JohnTempest
Member Details
I'd make sure you have your coordinates correct because after doing some testing with the following command, I had no issues getting back a positive response.
/execute if block 0 50 0 minecraft:chest{Items:[{id:"minecraft:diamond",Count:1b,Slot:0b}]} run say test
I tried just using your command and got no results, but then I changed it to a non-repeating command block and a lever just for the heck of it and it worked... I should be able to make it work like that now I guess.
The Meaning of Life, the Universe, and Everything.
Join Date:
1/7/2019
Posts:
48
Minecraft:
JohnTempest
Member Details
Sometimes I've had issues with repeating command blocks in 1.13, try setting it to "Active With Redstone" using a lever and then setting the block back to "Always Active"
I have this in a repeating command block but nothing is happening. It doesn't show any errors, so just wondering if I'm going about this the wrong way.. I'm using 1.13 the latest update. I tried changing the selector @a but still nothing.
I'd make sure you have your coordinates correct because after doing some testing with the following command, I had no issues getting back a positive response.
I tried just using your command and got no results, but then I changed it to a non-repeating command block and a lever just for the heck of it and it worked... I should be able to make it work like that now I guess.
Sometimes I've had issues with repeating command blocks in 1.13, try setting it to "Active With Redstone" using a lever and then setting the block back to "Always Active"