Worked on scanning the inventory instead of all blocks (doesn't work yet)