Dispenser

A dispenser is a vanilla minecraft block that holds blocks.When you left/right click on it with nothing in your hand, it gives you a random item that was placed inside it.