This mod was originally created by AUTOMATIC_MAIDEN.
The Vending Block is crafted as follows (you can replace planks with stone, ingots, or some other items for different vending blocks):
First recipe produces basic vending block which allows you to sell one type of product at a time.
Second produces advanced vending block, it has different GUI.
You can't put any items into buying slot, instead you press a button and pick the block you want to sell.
Last one produces multiple vending block which allows you to sell 4 different types of product.
When the storage available in the vending block is not enogh you can craft storage attachment to get additional 27 slots, option to automate the vending with hoppers and (in the future) resupply storage. It has following crafting recipe.
Place and right click it for a GUI.
Put the item you want to sell into left slot, the item you want to buy into right slot, and put some more of items you're selling into storage area.
Now everyone else can right-click the vendor block while holding the item you're buying to make the transaction. Items you bought go into storage area of the vending block.
When you have sold the last item (the one in the "Selling" slot), the tooltip will change and the vending block will just accept stuff for free.
To remove the vending block, empty its inventory and left-click it. Only the person that placed it can do that, and outside of creative mode, this is the only way to remove the vending block from the world.
A wrench is creative-only item without crafting recipe. Right click on a vending block to edit its settings.
*To display more detailed information about items in vending block hold sneak button (default lshift)
Source code on Github
1. Install Minecraft forge.
2. Put the mod's .jar file you downloaded into mods directory.
This mod is available under GPL2.
You are allowed to include it into mod packs of any kind, without asking for permission.