Barrel Shops
Barrel shops for people who dont want to set that up themselves. Designed for bedwars, but usable for much more.
介绍
Might be for a custom bedwars map. Note: example block shop give incomplete. However, selling will be possible later.
I will (maybe) upload a bedwars map once this is complete, this is the best shop type I have come up with.
Notes:
+Compatible with any storage block that actually is a storage block (ender chests don’t count)
-Not currently survival-friendly (only barely!)
+Prices decided by the item. Example give is
give @p dirt[minecraft:custom_data={shop:{bought:false},iron_price:2,gold_price:1,resultitem:{id:”glass_block”,count:7,components:{“minecraft:custom_data”:{}}]
Shop Item Setup
New easy(ish) setup! Use /function shop:create_new_setup_menu to create it. Put an item in the left empty slot to set what the new item will appear as. Rightmost slot is what they actually get once they buy it. The arrow buttons change the price. When you are happy, click the glass pane above the center empty slot to create the new shop item. Then, shift-click it into your inventory. Then you have your item!
This was because of some problems with armor stands: You can’t put more than one item in a slot without commands. This makes it more functional.
For survival (which now it technically works):
Craft it with a composter, a barrel, 3 wooden stairs, and four sticks. Sticks in corners, barrel in middle, composter on top, stairs on other sides.
Usage (for the people already using it):
Give yourself the items.
Place a storage block where you want the shop block to be.
Place another 5 blocks below (4 between).
Fill this one on the bottom by shift-clicking in all the items you gave yourself in step 1.
Place any of the items in the top block, leave the block, and reenter. Then, click the item.
Then, the shop will be fully set up.
If you come across any bugs such as filler items dropping on the ground, please put it on the bug tracker so that I can patch it.
TODO:
|
\ Fix filler items being placeable
\ Make more survival-friendly
\ Make it possible to use any item as currency and with more than 99 of that item. Also make it so that it can be split between multiple inv. slots.
If there are any features you want me to add, leave a comment. I will be likely to add it.
Originally posted on Planet Minecraft as Barrel Shops (for bedwars).
常见问题
Barrel Shops 支持哪些 Minecraft 版本?
Barrel Shops 支持 Minecraft Java 版 1.21。下载时注意选择和你游戏版本一致的文件。
Barrel Shops 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
dark-ember 的其他作品
查看全部 →
Better Cave Sounds
A better cave detector for Minecraft.
Fog Begone
Removes all fog from the game for a clearer experience.
PixelPaw’s Back To Nostalgia Pack
Make minecraft look and feel old
Trailer
Make Minecraft Look and Feel Like Trailer
评论
登录后评论和评分