I have searched everywhere but I can't find the command in 1.12!
I want to make it so when someone picks up lapis lazuli, I get a redstone signal.
I have tried testfor @a {Inventory:{[Id:"minecraft:dye,Damage:4,Count:1"]}}
But all it says is did not match required data structure!