- check_circle Functions
Published Mar 31st, 2020, 3/31/20 7:03 pm
- 5,942 views, 1 today
- 148 downloads, 0 today
1
SignShops
This data pack aims to provide features similar to that of the SignShop bukkit plugin.
Features
- Locking chests with a written book
- Creating SignShops with 2 locked chests, a hopper, and an oak sign
- Shop owners set price of shop item in emeralds, receiving that amount of emeralds per slot of chest inventory sold
- Automatically cleans up SignShop resources when destroyed
- Prevents erroneous activity: cannot purchase when the shop it busy, out of stock, or without sufficient funds
Usage
- Place two single chests next to each other.
- Throw a signed written book on top of each chest. The title of this book becomes the lock of the chest. To open the chest, right click on it with an item that has been renamed to the same name as that of the book. Locks do not protect chests from breaking, just from access.
- Place a hopper on top of one chests to that items will fill the chest.
- Place an oak sign on the other chest, on the side furthest away from the hopper. Write the following onto the sign:
_placeholder_ - Drop any stick onto the oak sign, this creates the shop.
- Using the shop key, stock the chest that the sign is placed on. The shop will sell each slot of the chest, so if you want to sell 32 planks, put 32 planks in each slot. Putting 64 planks in the first slot would sell all 64 no matter the circumstance.
- While looking directly onto the shop and standing in the block of the oak sign, sneak-right click on the shop sign with a Carrot on a Stick to attempt to purchase from the SignShop.
- Use the shop keys to access the chest under the hopper to get the emeralds from payments.
Quirks
- Only works with oak signs, more signs can be added but at the cost of many more commands (800+). May be added but might cause lag.
- Cannot open the stock chest by right clicking above the center of the sign, the invisible armor stands blocks this operation.
- Should work in other major versions of the game but is untested.
- The bottom 2 lines of the sign can be anything, they don't have to match the contents of the shop, which can lead to a dishonest salesman.
Compatibility | Minecraft 1.16 |
Tags |
4531303
119
Create an account or sign in to comment.
things like diamonds or gold?