This mod was originally created by AUTOMATIC_MAIDEN.
Craftng Recipes
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.
Usage
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)
See also
Source code on Github
Installation:
1. Install Minecraft forge.
2. Put the mod's .jar file you downloaded into mods directory.
Permissions:
This mod is available under GPL2.
You are allowed to include it into mod packs of any kind, without asking for permission.
I look forward to using this on my server, can't wait till it's updated to 1.9.4
Any chance you'll have a 1.9.4 version up soon? I sure can use it to make some admin shops. :)
I will update it by the end of the month (28 or 29 June).
1.9-1.3.4 crashes while selecting the "select" button in the Advanced Vending Block.
crash report: http://pastebin.com/H14JrKk2
Discovered that the vending blocks for 1.9-1.3.4 also don't allow players other than the one who placed it to buy from it, if the area they are placed in is set to adventure mode. IE, the machines do not function properly in adventure mode.
Finally! I've come across this mod--but updated! <3 <3
The only thing I am wondering about is if there is any way to put a search bar at the top of the "BUYING" menu that shows all the items in the game. It scrambles everything out of order and it takes a bit to find certain things, so a search bar would seem like a good idea.
:)
Another question, is there an admin version of the block? IE, one that only ops can place and depending on the type would either unlimited sell or buy?
Yes, you can use wrench (creative-only item) to set vending block to unlimited mode.
Thanks, I discovered that shortly after writing you.
If you could add that to main description that would be most appreciated.
Also great mod, really loving it, keep up the good work.
I've included it in my Skycraft 1.8.9 Mod Pack w/ Server at http://www.kreezcraft.com/minecraft/kreezxils-packs/skycraft-1-8-9/.
Could you make possible work with hoppers and ender chests some how?
Can you add configs to it that would allow us to set the following options
place_next_to_doors=false
stop_accepting_items_when_sold_out=true
Sure, I just uploaded modified version for 1.8-1.9 with changes you requested.
I like the idea of preventing players from not noticing that item sold by machine has changed.
Preventing them from placing Vending machine next to door seems less useful (one may place it two blocks away and still block the passage through).
Added it anyway as it was only a few lines of code.
So if only the person who placed it can break it, what happens if they put it in the way of your front door? The griefing possibilities are endless.
Well then you'd get a plugin like Skript and catch the event of someone placing down the vending block. If it's not in a worldguarded area or they don't have a permission node to place it down, it cancels placing down the vending block. It's actually pretty easy to do and I'd be happy to tell anyone how to do it if they were interested.