Customers

Allows players to play the trader role and have customers come to them.

Requirements

Usage

When wearing one of a number of special hats from the hats datapack, and standing close to some seats from the seat datapack, the player will attract npcs with specific trades.

The npcs will stay until they are traded with or a specific amount of time has happened, usually enough to craft the items that they want.

hat product
Chef Hat All bread types.
Bandana Noodles and tea.

Overhead

Every three seconds checks if there are customers in an 8-block radius around any player that should be despawned.

Every three seconds checks if there are empty seats around a player wearing one of the appropriate hats, and tries to spawn a new customer in one.

Known Issues

None.