Back to mods
Keep My Sword project artwork

Modrinth · Minecraft mod

Keep My Sword

Items stay in your inventory in an unusable state when durability runs out — zero dependencies, native repair compatibility.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Keep My Sword release matches Forge?

Updated today
Best match for your filters 2.0.0+1.20.1-forge
Game version 1.20.1
Loader Forge

Keep My Sword 2.0.0+1.20.1-forge targets 1.20.1 with Forge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Keep My Sword required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Keep My Sword 2.0.0+1.20.1-forge need?

2.0.0+1.20.1-forge on Forge. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Keep My Sword without breaking your instance.

Built for Keep My Sword 2.0.0+1.20.1-forge on Forge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.0.0+1.20.1-forge. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.0.0+1.20.1-forge. It opens that exact file at the source.

About this project

What does Keep My Sword add?

Keep My Sword

Keep My Sword

Items stay in your inventory when durability runs out instead of disappearing. Broken tools, weapons, and armor remain the real item in-place — completely unusable until repaired, with zero save-file pollution and zero dependencies.

How it works

  • In-place broken state: When a damageable item reaches 0 durability, destruction is prevented and durability clamps at 0. Break sound, item particles, and an optional actionbar notice play once when it breaks.
  • Disabled until repaired: Broken items deal bare-hand damage, mine at hand speed without tool drops, provide zero attributes or armor, skip passive ticks and combat/protection/movement enchantments, cannot be right-clicked as tools or weapons, and cannot be consumed as ordinary crafting ingredients.
  • Still lets you open blocks: Right-clicking an anvil, crafting table, grindstone, chest, or modded repair station while holding a broken item falls back to a bare-hand block interaction.
  • Works natively with every repair system: Because the broken item stays a real ItemStack, anvils, grindstones, crafting repair, Mending (configurable), Enchanting Infuser, Sophisticated Backpacks, and other modded repair mechanics work out of the box.
  • Elytra-safe & mod-friendly: Vanilla Elytra (which stops gliding at 1 durability) is never interfered with, and #slashblade:swords, #tconstruct:modifiable, #tetra:modular_items are excluded by default (missing mod tags are ignored safely).

Configuration

Edit in-game via ModMenu (Fabric) or the Mods -> Config button (Forge / NeoForge) for instant hot-reload, or edit config/keep_my_sword.toml:

Key Default Effect
allowMendingWhenBroken true Allow Mending to repair broken items with XP orbs.
showBreakNotification true Show an actionbar message when an item first enters the broken state.
showBrokenOverlay true Draw a 5×5 broken-item badge on the bottom-right corner of GUI slots.
excludedItems ["#slashblade:swords", "#tconstruct:modifiable", "#tetra:modular_items"] Item IDs ("minecraft:diamond_sword") or item tags ("#modid:tag") skipped by Keep My Sword.

Datapacks can also exclude items via the #keep_my_sword:excluded item tag.

Supported Versions

Zero runtime dependencies (no Fabric API, no library mod required).

Minecraft Loaders Java
1.20.1 Fabric, Forge 17
1.21.1 Fabric, NeoForge 21
26.1.2 Fabric, NeoForge 25
26.2 Fabric, NeoForge 25

Download

Screenshots

Holding a diamond sword with no durability remaining

Repairing the diamond sword in an anvil

Project description from Modrinth.

Pick your setup

Keep My Sword by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

8 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Keep My Sword versions and loaders

1 of 14 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.