Somewhat Mending brings game balance into the Mending enchantment by disabling the XP pickup repair mechanic and giving items with Mending cheaper to repair with an anvil. https://modrinth.com/mod/somewhat-mending
Find a file
slonkazoid 26e09d59d7
Some checks failed
build / build (push) Has been cancelled
update for 1.21.11
2026-02-10 21:56:29 +03:00
.github/workflows Initial commit 2025-06-29 03:15:42 +03:00
gradle/wrapper update for 1.21.11 2026-02-10 21:56:29 +03:00
src/main update for 1.21.11 2026-02-10 21:56:29 +03:00
.gitattributes Initial commit 2025-06-29 03:15:42 +03:00
.gitignore Initial commit 2025-06-29 03:15:42 +03:00
build.gradle update for 1.21.11 2026-02-10 21:56:29 +03:00
gradle.properties update for 1.21.11 2026-02-10 21:56:29 +03:00
gradlew update for 1.21.11 2026-02-10 21:56:29 +03:00
gradlew.bat update for 1.21.11 2026-02-10 21:56:29 +03:00
LICENSE Initial commit 2025-06-29 03:15:42 +03:00
README.md who tf wrote this 2026-02-10 21:34:22 +03:00
settings.gradle Initial commit 2025-06-29 03:15:42 +03:00

Somewhat Mending

Anvil with an enchantment book on top

Somewhat Mending brings balance to the Mending enchantment by disabling the XP pickup repair mechanic and making items with Mending cheaper to repair with an anvil.

Pairs well with Anvil Never Too Expensive.

See also: Unmending (Fabric), Mended Mending (Forge)

Configuration

{
  // Experience pickup does not repair equipment
  "blockXpRepair": false,
  // Mending affects repairing with an Anvil
  "doAnvilRepairBuff": true,
  // Anvil buff mode
  // Values:
  // - LOG2 (default): Use base 2 logarithmic scale
  // - DEFAULT; Use item base repair cost
  // - MULTIPLY: Multiply repair cost by value
  // - SUBTRACT: Subtract value from repair cost
  // - CONSTANT: Use value as repair cost
  "mode": "LOG2",
  // Value for MULTIPLY mode
  "mulValue": 0.0,
  // Value for SUBTRACT mode
  "subValue": 0,
  // Value for CONSTANT mode
  "constValue": 0
}