Tags
Creators
Details
Licensed CC-BY-NC-SA-4.0
Published 2 years ago
Updated 8 months ago
All versions
4.0+1.21.5+
Release
[1.21.5+] Display Librarian Enchant Trades v4.08 months ago 159
Compatibility
Minecraft: Java Edition
1.21.5–1.21.11
Platform
Data Pack
Changes
V4.0 — Major rewrite (Actionbar-based, multiplayer-safe)
New / Changed
- Complete recode of the datapack’s core logic (old systems removed).
- Switched from text displays above villager heads → actionbar above the hotbar, for a cleaner UI and no lingering entities.
- Auto-updates when you look at a different villager, so the shown trades stay in sync with what you’re inspecting.
- “Only show max-level enchants” toggle works reliably again (per-player trigger).
Compatibility / Technical
- Updated to Minecraft 1.21.5 pack format and 1.21.5 text component / NBT changes.
- Uses a periodic “remember + refresh” approach and only recomputes when the villager’s trade count changes, reducing unnecessary entity data reads.
Fixes (addresses all V3 known issues)
- Fixed cycling glitches (including the “last trade is a book trade” edge case).
- Fixed multiplayer desync/favoring one player (tested in multiplayer).
- Fixed persistent/leftover nameplate/text display artifacts (no more stuck displays when villagers die).
- Fixed reset/animation-like flicker that came from rebuilding nameplates every cycle.
Localization
- Added enchantment name translations, including Lunge.


