Provides villagers that will sell up to nine kinds of items at the price configured by their employer, get their stock from their employer, and give them the money they earn.
Items:
| item | loot table |
|---|---|
Summon Hired Trader |
hired_traders:contract |
Clipboard |
hired_traders:clipboard |
Advancements:
| title | description |
|---|---|
| Reasonable Hiring Practices | hire an employee |
| Grand Opening | restock an employee's trade |
| Inventory Management | destock employee's trade |
Use this to summon a hired trader.
hired_traders:contract loot table.Hold this while updating a hired trader to obtain a full inventory of their stock.
hired_traders:inventory loot table.Hired traders are configured by setting the inventory of the barrel under them as follows:
buy1 buy1 buy1 buy1 buy1 buy1 buy1 buy1 buy1
buy2 buy2 buy2 buy2 buy2 buy2 buy2 buy2 buy2
sell sell sell sell sell sell sell sell sell
Every column is a trade: first and second item are the stacks bought by the trader (one can be empty) and third column is the stack sold by the trader for those items.
The trader will update their trades to reflect this when their employer crouches in front of them. At this point, several things will happen:
Updates every tick:
Uses an advancement to check if a player traded with a hired trader