Penchant Reforged

Rework enchanting around leveling up enchantments through usage. Unofficial NeoForge port of Penchant by ThePotatoArchivist.
All possible datapacks with Penchant

All possible datapacks with Penchant

Higher enchantments levels equals hardworking !

Higher enchantments levels equals hardworking !

New UI for Enchanting Table

New UI for Enchanting Table

Place a Grindstone everywhere around the Table to unlock Extracting Module

Place a Grindstone everywhere around the Table to unlock Extracting Module

Description

Penchant

Enchantments start at level 1 and level up as you use the item. Mine, fight, block, wear armor, defeat monsters, your gear gets stronger the more you use it.

This is an unofficial port of Penchant by ThePotatoArchivist. Design and credit go to them. The port uses native APIs and aims for full feature parity.


How it works

Build an enchanting table, surround it with bookshelves, and open it. You pick which enchantment to apply instead of rolling the dice. New enchantments start at level 1. Progress fills up whenever the item takes durability damage. Armor and shields also gain progress when you kill hostile mobs. When the bar is full, the enchantment levels up with a sound and particles.

Extract Grindstone

Hold Left Ctrl (configurable) to see progress bars on enchanted items. Take enchantments back off gear at a grindstone. A Tome of Penchant (Patchouli) explains the system in-game, in English and French: craft a Book with an Enchanting Table.

Progress Tooltip


Features

  • Usage-based leveling - every enchantment on an item gains progress from mining, attacking, blocking, or wearing armor.
  • Fairer armor and shield leveling - armor and shields gain progress based on how much damage they actually absorb, and they also level up when you kill hostile mobs.
  • Bows and crossbows level faster - they use a fixed cost, so their low durability does not slow them down.
  • Adjustable leveling speed - a per-world multiplier in gameplay.toml (0.5 = twice as fast, 2 = twice as slow). It is saved with the world, synced to clients, and applies to existing worlds right away.
  • Reworked enchanting table - choose the enchantment. It is applied at level 1, then levels through use. Chiseled bookshelves, lecterns, and modded enchanting-power blocks count toward the table's power.
  • Extract onto books - pull enchantments out of gear at a grindstone.
  • Progress tooltips - hold a key to see how close each enchantment is to the next level. Oversized datapack enchantments no longer crash the client.
  • Admin command - /penchant add_progress adds progress to an item held by an entity or stored in a container (for operators, testing, and map makers).
  • Advancements - libraries, enchanting, and collecting every enchantment.

Enchanting Table


Toggleable modules

Several behaviors ship as built-in datapacks. Enable or disable them from the Data Packs screen when creating or editing a world, then reload. When you disable a pack, the matching module really turns off.

Modpack developers can also set which modules are enabled by default for new worlds in config/penchant/server.toml. That file does not change worlds that already exist. If you are a player, prefer the vanilla datapack menu.

  • Durability Rework (on) - Unbreaking and Mending reworked around leveling. Unbreaking's last level makes the item unbreakable (V by default; follows another mod's max-level cap if you use one).
  • Bookshelf Placement (on) - more lenient bookshelf placement around the table.
  • Table Rework (on) - custom enchanting table menu and advancements.
  • No Anvil Books (on) - no combining enchanted books on an anvil.
  • Loot Rework (on) - reworks loot and trades; uncategorized enchantments off the table; curses off trades and loot books.
  • Guaranteed Drops (on) - enchanted mob equipment is only guaranteed if it has a non-common enchantment. Controlled by tag #penchant:ignore_guaranteed_drop.
  • Randomized Librarians (off, not on every Minecraft version) - librarians sell a random enchanted book each purchase instead of one locked trade. Shift-clicking the trade also works.

Datapacks


Works with other enchantment mods

Penchant is tag-driven and data-driven, not hardcoded to vanilla enchantments.

  • Enchantments added by other mods level up through usage automatically - no patch needed.
  • Mods that raise or lower enchantment level caps (Remove Enchantment Limits and similar) are honoured. Penchant levels up to that cap, and Unbreaking becomes unbreakable at whatever the last level is.
  • #penchant:no_leveling - applied at full level, never gains progress.
  • #penchant:disabled - hidden from the enchanting table.
  • Single-level enchantments skip the progress bar.

Item and entity tags for modpacks:

  • #penchant:level_up_by_use - items that gain progress each time they are used (right-click), for gear that never takes durability damage.
  • #penchant:level_up_by_killing - equipped items that gain progress on kills (armor and shields by default).
  • #penchant:kill_levels_up_equipment - extra non-hostile mobs whose death counts as a kill.
  • #penchant:proportional_enchantment_progress - items whose progress scales with the durability damage taken.
  • #penchant:default_progress_cost_factor_one - items that use a fixed cost instead of one scaled by durability (bows and crossbows by default).
  • #penchant:max_level_enchantments - items that receive enchantments at max level.

Mods that add enchantments are compatible. Mods that replace the enchanting table, the anvil, or enchantment helpers may conflict. If a specific enchantment should not level, put it in #penchant:no_leveling.


Integration

  • Max Protection (and similarly named mods) - if installed, Protection, Fire Protection, Blast Protection, and Projectile Protection can be combined on the same piece in the Penchant table, not only on the anvil.
  • Enchiridion Enchanting - Enchiridion's enchantment categories are respected in the Penchant table, so two enchantments from the same exclusive category cannot be combined. The table menu and progress tooltips stay correct when Enchiridion restyles enchantment lines, and table particles no longer appear where there is no bookshelf. Compat is not complete or balanced yet.
  • Modest Magic - its altar and enchanting tablets apply enchantments at level 1, so they level up through use like the rest.
  • Enderscape - the Mirror levels up when used.
  • Item Descriptions - extra lore on Penchant enchantments.
  • Patchouli - required for the Tome of Penchant.

License & credits

  • Original mod by ThePotatoArchivist.
  • Licensed under LGPL-3.0-or-later, matching the original.

This is an unofficial port and is not affiliated with or endorsed by the original author.

Penchant Reforged Team

profile avatar
Owner
  • 23
    Projects
  • 43.8K
    Downloads

woxayz.fr

More from WoXayZView all