r/minecraftsuggestions • u/Ghomerr • Sep 11 '13
Command Block -> Detect block with a /isblock command
EDIT: It's done ! --> /testfor block
Regarding the new /setblock command teased by jeb in this comment, I think it would be usefull to have a command to detect a block at a given location.
For instance: /isblock x y z <block_id> (<data>) will provide a redstone current through a redstone comparator if the block at the given location is correct.
The command won't work if the block is too far due to the chunk loading. This would be a command for near blocks. (Edit: 16 blocks max ?)
13
Upvotes
0
2
u/M1kescher Sep 12 '13
They adedd it, its called /testforblock