onDispense is now called with minecarts, mob eggs, and projectiles