Updated droppers and hoppers to use inventory API.