I know that when you open a trapped chest, it generates a small redstone signal. So I locked the chest with /blockdata ~ ~-1 ~ {Lock:"Name of chest"}
, but when I right click, it doesn't generate a redstone signal. I know this is quite obvious, but I wanted to make a system where if you try and open a trapped chest, it would trigger a command block.
How can I do this?