Villager Trade Enchant

Quick rating

Community listing page, reviews may not be monitored by the author.

Villager Trade Enchant

No reviews yet

A villager who enchants your gear at your price

Mod Loaders
Minecraft
26.3 26.2

About

Description

Villager Trade Enchant

A villager who enchants your gear, at a price you control.

Place an enchanting table near an unemployed villager and it becomes an Enchanter. Right-click it, put an item in, pick the exact enchantment and level you want, pay and take the enchanted item. No lapis, no experience levels, no random rolls.

Features

  • New profession: the Enchanter. Its job site is the enchanting table, and it wears its own crimson robe as a villager and as a zombie villager.
  • Pick exactly what you want. One row per enchantment level, sorted by name, with the price next to it. Curses are shown in red.
  • Anvil rules. Only enchantments the item could take in an anvil are offered. Conflicting enchantments and levels the item already has are hidden. Upgrading an enchantment costs the full price of the new level.
  • Books too. Plain books become enchanted books, and enchanted books can get more enchantments.
  • No rework penalty. Enchanting here does not raise the item's anvil repair cost.
  • Every enchantment, modded ones included. Treasure enchantments like Mending, curses, and enchantments from other mods and datapacks are all available.
  • Configurable prices. Every level has its own price in the server config: any item, 1 to 64. By default they cost emeralds, or emerald blocks for the expensive ones.
  • Vanilla feel. The screen looks like the trading screen, and picking a row moves the payment from your inventory, just like selecting a trade.

The Enchanter never trades and never levels up. Its prices are exactly what the config says: no discounts, no usage limit.

How to use

  1. Place an enchanting table near an unemployed villager. It walks over and becomes an Enchanter.
  2. Right-click the Enchanter.
  3. Put the item in the first slot and pick a row. Once the payment is enough, take the result.

In a world that existed before the mod was installed, an enchanting table that was already placed may not be recognized yet. Break it and place it again.

Configuration

config/villagertradeenchant-server.toml is created on the first start and lists every enchantment in the game with its default price:

priceMultiplier = 1.0
allowConflicts = false
allowBooks = true

[prices."minecraft:sharpness"]
enabled = true
levels."1" = { item = "minecraft:emerald", count = 19 }
levels."5" = { item = "minecraft:emerald_block", count = 8 }
  • priceMultiplier: multiplies every price.
  • allowConflicts: also offer enchantments that conflict with one already on the item.
  • allowBooks: allow books and enchanted books.
  • enabled = false: hide an enchantment.

Your edits are never overwritten: enchantments from newly added mods or datapacks are added at the end of the file. Mistakes do not crash the server; invalid entries are skipped with a warning in the log.

Requirements

Required on both the client and the server.

Minecraft Loader Requires File
26.3 NeoForge 26.3.0.0-beta+ (stable 26.3.0.76+) Java 25 villagertradeenchant-neoforge-26.3-1.0.0.jar
26.3 Forge 66.0.0+ Java 25 villagertradeenchant-forge-26.3-1.0.0.jar
26.3 Fabric Loader 0.19.3+ Fabric API 0.160.5+, Java 25 villagertradeenchant-fabric-26.3-1.0.0.jar
26.2 NeoForge 26.2.0.0-beta+ (stable 26.2.0.57+) Java 25 villagertradeenchant-neoforge-26.2-1.0.0.jar
26.2 Forge 65.0.0+ Java 25 villagertradeenchant-forge-26.2-1.0.0.jar
26.2 Fabric Loader 0.18.4+ Fabric API 0.152.1+, Java 25 villagertradeenchant-fabric-26.2-1.0.0.jar
26.1 - 26.1.2 NeoForge 26.1.0.1-beta+ (stable 26.1.2.71+) Java 25 villagertradeenchant-neoforge-26.1-26.1.2-1.0.0.jar
26.1 - 26.1.2 Forge 62.0.0+ (62 = 26.1, 63 = 26.1.1, 64 = 26.1.2) Java 25 villagertradeenchant-forge-26.1-26.1.2-1.0.0.jar
26.1 - 26.1.2 Fabric Loader 0.18.4+ Fabric API 0.144.0+, Java 25 villagertradeenchant-fabric-26.1-26.1.2-1.0.0.jar
1.21.11 NeoForge 21.11.42+ villagertradeenchant-neoforge-1.21.11-1.0.0.jar
1.21.11 Forge 61.0.1+ villagertradeenchant-forge-1.21.11-1.0.0.jar
1.21.11 Fabric Loader 0.17.3+ Fabric API 0.139.5+ villagertradeenchant-fabric-1.21.11-1.0.0.jar
1.21.1 NeoForge 21.1.4+ villagertradeenchant-neoforge-1.21.1-1.0.0.jar
1.21.1 Forge 52.0.0+ villagertradeenchant-forge-1.21.1-1.0.0.jar
1.21 - 1.21.1 Fabric Loader 0.15.11+ Fabric API 0.102.0+ villagertradeenchant-fabric-1.21-1.21.1-1.0.0.jar
1.20.1 Forge 47.1.0+ (also NeoForge 1.20.1) villagertradeenchant-forge-1.20.1-1.0.0.jar
1.20 - 1.20.1 Fabric Loader 0.14.21+ Fabric API 0.83.0+ villagertradeenchant-fabric-1.20-1.20.1-1.0.0.jar

Compatibility

  • Not compatible with mods that also use the enchanting table as a villager job site, such as Villager Enchanter. The game shows an error at startup.
  • Safe to remove. The world still opens, Enchanters become unemployed villagers, and enchantments already bought stay on the items.

Better together

Source code and issues: GitHub