Minecraft wiki entry for Mechanisms, associated text: This is a system that will let you program what items you want to sell, how many you will give, what you want to be paid and how many of those to be paid. It will lock when it's empty. This is a very compact system that is also tile-able.