Maybe you were looking for...

/testfor for item enchantment

What I have now is: /testfor @a {SelectedItemSlot:0,Inventory:[{Slot:0b,id:"diamond_pickaxe"}]} How can I use the /testfor command to test a specific slot fo