Barrel Shops

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.2.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/barrel-shops
资源信息

Minecraft 版本: 1.21

平台: datapack

资源介绍

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).

Go here for a list of my mods(and mods i reccomend), or just to post your ideas for things for me to make!

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
PAM | Philipp´s Alarm Mod

价格:0 墨喵币
下载量:0

查看详情
Better Saturated Grass

价格:0 墨喵币
下载量:0

查看详情
Cape Over Elytra

价格:0 墨喵币
下载量:0

查看详情
No crystal/kart pvp

价格:0 墨喵币
下载量:0

查看详情