Viv's Vending Machines

是否曾想在你的 Minecraft 世界或 SMP 服务器中加入自动售货机?那就选它没错!
此数据包为你的世界添加了功能齐全、可染色且安全的自动售货机!只需将下载的 zip 文件放入你的数据包和资源包文件夹,即可开始使用!
机器与放置它的玩家的 UUID 绑定,仅该玩家以及拥有 "admin" 标签的任何玩家可以对其进行配置和移动。
欢迎在你的服务器或内容创作中使用此数据包。但请勿将其分发至其他地方或声称是你自己的作品!
合成配方

自动售货机的合成需要 5 个铁块、1 个红石、2 个玻璃板和 1 个按钮。
只需对已放置的机器使用任意染料即可更改其颜色,或使用水桶洗掉染料。
使用方法
右键点击支付物品显示旁边的黑色插槽以向机器投入支付物。再次右键点击会将支付物返还给玩家。
支付完成后,右键点击任意按钮即可吐出对应的物品!

说明
配置支付物
在主手中持有任意数量的任意物品,并右键点击按钮下方的物品显示,以设置支付物和数量。默认情况下没有支付物,如果空手右键点击则可以清除支付物。
左键点击支付物显示会将玩家支付给机器的所有物品归还给所有者。
补充货物
左键点击左上角的按钮将打开自动售货机进行补货。
自动售货机共有 6 个插槽,每行 2 个。
左键点击架子上的一个插槽,将你主手中持有的物品和数量设置为待售商品。
此时尚未完成补货。
你也可以空手左键点击以清空插槽并取回槽内已有的物品。
在设置了物品后(手持该设定物品时)右键点击插槽即可完成补货。
再次左键点击左上角的按钮将在补货完成后关闭机器。
其他控制
右上角按钮(左键点击)- 查看机器库存(所有玩家)
左下角按钮(左键点击)- 切换机器的营业状态(仅限所有者)
右下角按钮(左键点击)- 查看支付余额(仅限所有者)
移动/移除机器
只需用铁镐、钻石镐或下界合金镐敲击机器几次即可破坏它(必须由机器的所有者执行)。
Viv's Vending Machines

Ever wanted Vending Machines in your Minecraft world or SMP? Well, look no further!
This pack adds fully functional, dyeable, and secure Vending Machines to your world! Simply put the downloaded zip file in your datapack and resource pack folders, and you're good to go!
Machines are linked to the UUID of the player who places them and can only be configured and moved by that player, as well as any player with the "admin" tag.
Feel free to use this pack for your servers or for content creation. Just don't distribute it elsewhere or claim it as your own!
Recipe

Vending Machines are crafted with 5 iron blocks, 1 redstone, 2 glass pane, and 1 button.
Simply use any dye on the placed machine to change its color, or use a water bucket to wash off the dye.
Using the machine
Simply right click the black slot next to the payment item display to insert payment into the machine. Right clicking again will return the payment to the player.
Once paid, right click any button to dispense the corresponding item!

Instructions
Configuring payment
Hold any number of any item in your main hand and right click on the item display below the buttons to set the payment item and amount. Payment is nothing by default and can be cleared again if right clicked with an empty hand.
Left clicking on the payment item display will give the owner back all the items playes have paid to the machine.
Stocking Items
Left clicking on the top left button will open the Vending Machine for stocking.
There are 6 slots in the Vending Machine, with 2 in each row.
Left clicking on a slot on a shelf will set the item being sold to the item and number that the player is holding.
This will not stock the machine yet.
You may also left click with an empty hand to clear the slot an recieve back any items in stock.
Right clicking on a slot after an item has been set (while holding the set item) will stock the slot.
Left clicking the top left button again will close the machine once stocking has been finished.
Other controls
Top right button (left click) - See machine stock (All players)
Bottom left button (left click) - Toggle the machine in and out of service (Owner)
Bottom right button (left click) - See payment balance (Owner)
Moving/Removing the machine
Simply whack the machine a few times with an Iron, Diamond, or Netherite pick to break it (Must be done by the owner of the machine).
评论 0
登录后参与评分
还没有评论,来抢沙发吧