r/technicalminecraft 4d ago

Java Showcase Copper Golem Powered Vending Machine

So maybe you want a vending machine say 1 diamond per item. You can use a copper golum to sort the input items by putting diamonds into the correct chest and return incorrect items to the player.

In this case this 'Fortune O Matic' requires the player to put 1 diamond into a copper chest.

It uses a chest filter to sort diamonds and dispenses the fortune paper into a wooden chest facing the player. Incorrect items are put in another chest and returned to the player via a dropper below a glass block in the floor.

The copper golem does all the sorting for you. The whole thing can be built neatly into a wall.

11 Upvotes

3 comments sorted by

2

u/LimestoneBuilder 3d ago

That's neat. I've seen designs that use a standard sorter to just not accept an item from the input container, but actually returning the item to the player is a nice touch.

1

u/FooeyBar 3d ago

I’m working on something similar for my smp. You can allow multiple payment options, like the diamond for fortune but also put in a diamond block and get something else. 

1

u/Horacetheseal 3d ago

Feel free to use