All Mods Resource Packs Data Packs Shaders Modpacks Plugins
expRepair

expRepair

by lunixialive • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

🔧 expRepair

Repair your gear with XP — passively or on demand. No anvils. No grindstones.

Fabric NeoForge

Download on CurseForge GitHub

Minecraft 26.x & 1.21.x Single Player & Server Fabric API required on Fabric MIT License


Vanilla Mending only heals the item you're holding, and only when an XP orb happens to drop — so your armor rots mid-fight and your off-hand never gets a repair. expRepair fixes that. It spends your stored experience — levels and the progress bar, not just loose orbs — to keep your whole kit alive the moment it takes damage.

🆕 New in 1.9.5: one jar now runs on every Minecraft 26.x release — 26.1, 26.1.1, 26.1.2, 26.2 and 26.3.

No new items, no blocks — it's server-side, so a vanilla client can just connect, and it runs the same in single-player.

⚔️ Vanilla Mending vs. expRepair

🎣 Vanilla Mending 🔧 expRepair
What it repairs Only the held item Your whole loadout (passive)
When When an XP orb lands Every second, or on demand
XP source Loose orbs only Your stored XP
Armor while fighting Rots Maintained
Control None Passive / Manual + XP floor

✨ Two ways to repair — pick one

  • 🟢 Passive — the whole kit, hands-off. Once per second, every damaged Mending item you have equipped (main hand, off-hand, and all four armor slots) tops itself off from your XP, up to a budget. Your gear stays healthy in the background while you mine, fight, or fly.
  • 🎯 Manual — just the tool in hand. Sneak + right-click in the air holding a damaged Mending item and it repairs on the spot. Nothing happens automatically, so you decide when your levels get spent.

Turning one mode on turns the other off — no doubt about what's spending your XP.

🔧 How it works

XP converts to durability at a fixed, transparent rate: 1 XP = 2 durability. Each repair spends at most maxXpPerRepair (default 8 → up to 16 durability), drawn from your total experience.

  • A protective XP floor. Set a threshold and passive repair will never spend XP that would drop you below it — bank levels for that next enchant while the overflow keeps your gear alive.
  • Mending is the opt-in. Only Mending-enchanted items are ever touched — nothing repairs gear you didn't intend to.
  • Survival only, only while alive. Creative/spectator are skipped, and no XP is spent on the death screen.

🎛️ You're in control

  • A clickable login summary — on join, a compact status line shows your mode + threshold with inline toggle buttons (and you can switch the message off entirely).
  • Full admin control — operators set server-wide defaults, force a mode for any player, or block a mode outright. Config hot-reloads, no restart.
  • Plays nice with PvP mods — exposes a suppression hook so combat mods (e.g. pvpOption) can pause repairs mid-duel.

⌨️ Commands

Base command /exprepair (alias /er) — run it bare for a clickable help screen.

Command What it does
/exprepair passive Toggle passive repair (turns manual off)
/exprepair manual Toggle manual repair (turns passive off)
/exprepair threshold <levels> Set the XP floor passive won't spend below
/exprepair status Show your passive / manual / threshold settings
/exprepair loginmessage Toggle your on-join status message
/exprepair admin … Op tools: server defaults, per-player overrides, block a mode, reload

⚙️ Configuration

Server settings live in config/exprepair.json (editable in-game via /exprepair admin …, hot-reloads). Tune maxXpPerRepair, the new-player defaults for passive/manual/threshold, and master allowPassive / allowManual switches. Per-player choices persist separately.

📦 Compatibility

Loaders Fabric and NeoForge — one jar runs on both
Minecraft 26.1 – 26.3 — one jar, v1.9.5 · 1.21.11 and 1.21.5 – 1.21.10 — v1.9.4
Fabric API Required on Fabric · not needed on NeoForge
Side Server-side — vanilla clients fully supported, single-player too
Extra libraries None — fully standalone

Enjoying it? Hop in the Discord · ⭐ the repo · explore the rest of Lunixia's Minecraft QOL Mods

⛏️ Small, focused mods that cut out the boring stuff.

How to Install expRepair (Mod)

expRepair by lunixialive is verified for Fabric, Neoforge across Minecraft versions 1.21.10, 1.21.11, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1 (latest release: 1.9.5, file size: 33 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.21.10, 1.21.11, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1) and platform (Fabric, Neoforge).
  2. Make sure you have the compatible loader or environment installed for Fabric, Neoforge.
  3. Move the downloaded expRepair file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3 26.2 26.1.x
Fabric Neoforge
2mo ago 1
1.21.x
Fabric Neoforge
4mo ago 1
1.21.11
Fabric Neoforge
4mo ago 1
26.1.x
Fabric Neoforge
4mo ago 1
26.2
Fabric Neoforge
4mo ago 1
1.21.11
Fabric
8mo ago 1
26.1.x
Fabric
8mo ago 1
1.21.11
Fabric
8mo ago 1
1.21.11
Fabric
8mo ago 1
1.21.11
Fabric
8mo ago 1
[1.9.5] 1.9.5 by lunixialive on Sep 23, 2026
Download
## [1.9.5] — 2026-09-23

Minecraft 26.3 support, shipped as one jar for every 26.x release so far. No gameplay changes.

### Added
  • Minecraft **26.3** support.

### Changed
  • One jar for Minecraft 26.1 through 26.3** — 26.1, 26.1.1, 26.1.2, 26.2 and 26.3 — on both Fabric and NeoForge, replacing the separate 26.1.x and 26.2.x jars. The mod's code is identical on all of them, so there is nothing to pick between.
  • The jar is now named _MC-26.1-3, and the code lives on the multi_26.1-3 branch (multi_26.1 and multi_26.2 are retired).

### Requirements
  • Java 25**, Minecraft 26.1–26.3. Fabric: Fabric Loader ≥ 0.19.3 + Fabric API for your Minecraft version. NeoForge: 26.1.2.76 or newer *(no Fabric API)*.

[1.9.4] expRepair 1.9.4 by lunixialive on Jul 24, 2026
Download
v1.21.5-1.21.10 backport for both fabric and neoforge loaders
[1.9.4] expRepair 1.9.4 by lunixialive on Jul 24, 2026
Download
1.21.11 back port for both fabric and neoforge loaders
[1.9.4] expRepair 1.9.4 by lunixialive on Jul 23, 2026
Download
housekeeping release - no gameplay changes. unified codebase and naming for 26.x versions.
[1.9.4] expRepair 1.9.4 by lunixialive on Jul 23, 2026
Download
housekeeping release - no gameplay changes. unified codebase and naming for 26.x versions.
[1.9.3] expRepair 1.9.3 by lunixialive on Apr 05, 2026
Download
  • Added /exprepair loginmessage — per-player toggle for the login status message (default: on)
[1.9.3] expRepair 1.9.3 by lunixialive on Apr 05, 2026
Download
  • Fixed mod version number (was incorrectly set to 1.2.2)
  • Broadened Minecraft version compatibility to cover both 26.1 and 26.1.1
[1.9] expRepair 1.9 by lunixialive on Mar 25, 2026
Download
Changelog

v1.9

  • Migrated player data storage from NBT AttachmentTypes to a file-based system (config/exprepair/playerdata.json)
  • Legacy NBT data auto-migrates and is cleaned up on player join
  • Restructured into Architectury multi-loader layout (common + fabric modules)

v1.0

  • Fixed player settings (passive mode, manual mode, threshold) being lost on dimension change or death/respawn
  • Enforced mutual exclusion between passive and manual repair modes — enabling one disables the other
  • Restructured admin commands: all now under /er admin, removed redundant subcommand layers
  • /er admin reload now broadcasts by default; silent is explicit
  • Removed unused session maps and dead code

Initial Release

  • Passive auto-repair: automatically repairs Mending items using XP
  • Manual repair: sneak + right-click to repair on demand
  • Per-player toggles for passive/manual modes
  • Configurable XP threshold (minimum XP floor before repair triggers)
  • Configurable max XP consumed per repair tick
  • Full admin commands for managing per-player settings and server defaults
  • /er alias for all /exprepair commands
[1.6] expRepair 1.6 by lunixialive on Mar 21, 2026
Download
## Changelog

### 🐛 Bug Fixes
  • Fixed: Settings lost on dimension change** — Player repair settings (passive, manual, threshold) were silently reset when traveling through a portal to the Nether or End. Settings now persist correctly across all dimension changes.
  • Fixed: Settings lost on death/respawn** — Same fix also covers player data being dropped on respawn after death.

### ⚙️ Command Changes
  • All admin commands are now grouped under /er admin for clarity
  • Removed the default subcommand layer — server settings are now directly under /er admin
  • /er admin threshold and /er admin maxXpPerRepair now show the current value when run without arguments
  • Removed redundant /er admin <player> status — just use /er admin <player>
  • /er admin reload now broadcasts by default; use /er admin reload silent to suppress

### 🔄 Behavior Changes
  • Removed session vs. permanent distinction — player settings are now always saved permanently
  • Passive and manual repair are now strictly mutually exclusive — enabling one automatically disables the other. Both can still be disabled simultaneously.
  • If the config file is hand-edited with both defaultPassive and defaultManual set to true, manual repair takes priority

### 📋 Full Command Reference
#### Player Commands
| Command | Description |
|---|---|
| /er | Help / overview |
| /er passive | Toggle passive repair on/off |
| /er manual | Toggle manual repair on/off |
| /er threshold [levels] | View or set your XP floor (0 to clear) |
| /er status | View your current settings |
| /er serverdefaults | View server defaults (read-only) |
| /er version | Show mod version |

#### Admin Commands (OP level 2+)
| Command | Description |
|---|---|
| /er admin | View server settings |
| /er admin passive on\|off | Set default passive repair |
| /er admin passive allow on\|off [silent] | Enable/disable passive for all players |
| /er admin manual on\|off | Set default manual repair |
| /er admin manual allow on\|off [silent] | Enable/disable manual for all players |
| /er admin threshold [levels] | View or set default XP floor |
| /er admin maxXpPerRepair [xp] | View or set max XP spent per repair tick |
| /er admin reload [silent] | Reload config from disk |
| /er admin <player> | View a player's settings |
| /er admin <player> reset | Reset player to server defaults |
| /er admin <player> passive on\|off | Set a player's passive repair |
| /er admin <player> manual on\|off | Set a player's manual repair |
| /er admin <player> threshold <levels> | Set a player's XP floor |

> All commands also work with /exprepair in place of /er.
[1.5] expRepair 1.5 by lunixialive on Mar 18, 2026
Download
1st Release
expRepair Icon
Download expRepair
Select game version
Select platform