Description
Mochos NPCs
Merchants, bankers, experience traders and an entity editor for your server. A Mochos Esenciales addon that brings the economy into the world: players set up their own shops, the server has merchants, bankers and experience traders, and admins edit any entity without commands.

Player merchants
With the Spawn Merchant item (crafted, bought in the shop or given by the admin) any player places their own merchant:
- π Sells and buys. Each offer sells an item (for money, for items or either: the buyer chooses) or buys it from other players, paying with the coins its owner leaves in its inventory, with change.
- π¦ Its own inventory of up to two double chests: sales come from it and payments arrive in it. Money goes to the owner's bank.
- π³ No payment slots: the items it asks for are taken straight from your inventory. The shop shows your bank and cash.
- π A notice for each sale and a history of sales and purchases.
- π Its look: a villager (with profession and biome), wandering trader, golem, fox, allayβ¦ or a player with an SD or HD skin (up to 1024Γ1024) uploaded from a file or a URL. Also baby, size and whether it looks at players.
- π·οΈ Its owner shows under its name in smaller letters.

Bankers
Any entity can be a banker: a right click opens the bank (deposit, withdraw, transfer and the coin converter) in its own window. They are employees of the state: no owner is shown. With "Hide the Economy tab" trading and banking happen only through merchants and bankers.
Experience traders
A new NPC that stores your experience in flasks of 15 and 30 levels and gives it back. Free and exact: 315 and 1395 points. Flasks are items: keep them, sell them or give them away. Like bankers, no owner is shown.

NPC type
A button cycles the type: normal, merchant, bank and experience (on edited entities: normal, bank and experience). Only admins see it. Player merchants are always merchants.
Entity editor
In creative mode, sneak + right click any entity: name with colours and formatting, always show the name, glow, look at players, AI, invulnerable, silent, gravity, invisible, baby, health and size. For villagers also: profession, biome, level, fixed offers and their offers (add, remove, reorder, infinite uses and the experience they drop).

NPC templates
Export any merchant, banker, experience trader or edited entity to JSON, with its type, and it stays as a template in Administration β NPCs, with its size and date, like the Configurations of Mochos Esenciales: create it in front of you, copy its JSON or delete it. What you import from a file or the clipboard is kept too. Seven example templates come with the offers of the Mochos Esenciales example shops (farmer, builder, adventurer, decorator, money changer, fisherman and the Central Bank).

Administration
In Administration β NPCs: allow player merchants, most per player, inventory slots, what players may customise and which entities they can pick, the recipe of the Spawn Merchant item (editable, with a default one), hide the Economy tab, the templates and the list of merchants with a button to go there. Command: /npcs huevo [players] [amount].
Installation
| Where | Required? |
|---|---|
| Server | Required |
| Client | Required |
Requires Minecraft 1.21.1, NeoForge 21.1.265 or later and Mochos Esenciales 0.13.0 or later.
- Templates:
config/mochos/exportes/npcs/. - Merchant skins:
<world>/mochos_npcs/skins/.
Languages: Spanish and English.


