Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
Adds a new set of trades for things related to Spelunking and Mining - using new Villager Trade datapack features added in 26.1. Fully server-side, no installation on the client required.
IMPORTANT:
Due to limitations of this Vanilla method this is not a true brand new profession with its own block and mechanics. What it does is replace Vanilla profession trades with those ones, but only under certain conditions. If you dont do it correctly you wont get every trade!
HOW TO ACCESS THE TRADES:
Rename a Villager to "evp_miner" using a Name Tag, then make them become Toolsmith by claiming a Smithing Table block. It is important you do it in that order, otherwise Level 1 trades wont be replaced. Existing trades wont be modified!
List of trades
Level 1:
- Emerald -> Coal
- Iron Pickaxe -> Emerald
Level 2:
- Torch -> Emerald
- Emerald -> Raw Iron
Level 3:
- Emerald -> Raw Gold
- Bread -> Emerald
Level 4:
- Emerald -> Blast Furnace
- Emerald -> Minecraft
- Emerald -> Rail
Level 5:
- Emerald -> Diamond
- Emerald -> Ancient Debris (Nether only)
(you will need to level up a villager to level 5 in the nether to get ancient debris trade)
OPTIONAL:
Mod version has Assets bundled in, but datapack version is barebones.
By default, it will keep the Vanilla Toolsmith texture and English name. You can use this optional resourcepack to make Miners visually unique and have their name translated to a supported language (see resourcepack page for a list): EVP Assets - Miner (Requires ETF)

UPDATES
Unfortunately when updating any changes to the existing trades wont be applied. That means if trades are changed in any way you will need to get a new villager to see them.
If you dont want to kill your villagers, there are handy commands to reset them, as below:
UNINSTALLING
If you wish to uninstall the datapack, run this command (operator priveleges required):
/function evp_miner:uninstall
It will reset every loaded Miner to its original state.
Otherwise, you can run this command for a global uninstallation:
/function evp:uninstall
It will reset every loaded EVP series villager to its original state.
There is also an admin-only debug command that fully resets nearest Miner villager:
/function evp_miner:reset_nearest


