Clear-fix
Clear-fix adds a confirmation step to the clear command, so a player who types it without intending to wipes nothing on the first try.
What it does
The mod changes the clear command so that a first use only asks for confirmation. A second use within a 10-second window carries out the clear. The author wrote the change after clearing an inventory by accident and repeating the command, and it targets the short form that omits a username, which is the one most often typed by mistake.
Only the server needs the mod for the protection to apply. Servers require it, while the client may also carry it. Server console and command blocks still run the command without a confirmation step, so the protection covers players and not automated input. Files are published for Fabric and Quilt, for three game versions, 1.20.1, 1.21 and 1.21.1, under the GNU General Public License v3.0 only, and the source code and issue tracker are public.
The mod depends on Fabric API. The latest Fabric build is 1.2.1+mc1.21 for 1.21.1, released 2024-08-21, and the latest Quilt build is 1.0 for 1.20.1, released 2023-09-14, so the Quilt line stops at 1.20.1.
Key features
Confirmation for clear
The clear command asks for a second use before it removes any items from the target player.
10-second confirmation window
The second use has to come within 10 seconds of the first, after which the confirmation expires.
Short form protected
The version of the command typed without a username is covered by the same confirmation step.
Console bypass remains
Commands sent from the server console or command blocks run the clear immediately, with no confirmation.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
How it compares
RuSureQuit is client-side only, open source under the MIT License, and built for 1.20 – 1.21.10 on Fabric, Forge and NeoForge, so it adds a confirmation on the player's own machine. Webcommands is client-side only, open source under the Apache License 2.0, and covers 1.20.1 – 26.3 on Fabric.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Clear-fix | Fabric and Quilt | 1.20.1 – 1.21.1 | Server required, client optional | 2024-08-21 |
| RuSureQuit | Fabric, Forge and NeoForge | 1.20 – 1.21.10 | Client-side only | 2025-12-20 |
| Webcommands | Fabric | 1.20.1 – 26.3 | Client-side only | 2026-02-03 |
Questions
Does Clear-fix need Fabric API?
Does every player need Clear-fix installed?
Does the confirmation apply to commands from the console?
Which game versions does Clear-fix support?
In the catalog
Clear-fix is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 32,366 mods support Minecraft 1.21.1.
More from noahreinalter
Similar mods
Official listing
- Modrinth page
- modrinth.com/mod/clear-fix
- Owner
- noahreinalter
- Published
- 2023-09-14
- Updated on Modrinth
- 2024-08-21
- Facts verified
- 2026-10-15
