Better Lock on
by ShelMarow
Better Lock on is a Forge client mod that changes how the lock-on target system behaves in combat, with a configurable lock icon and soft lock.
What it does
The mod reworks the lock-on function so a locked target stays selected while the player aims elsewhere. Moving the mouse left or right switches between nearby targets, and a lock is released without waiting for the target to disappear. When the locked target dies, the lock moves to the nearest other target. Pressing the lock button while aiming at a target locks the closest one automatically. A soft lock mode is included, and the lock icon can show the target's health and stamina.
The mod also covers third-person and mounted play. Pitch angle logic for third-person lock was optimized, a fix addresses enemy search picking the wrong camera position, and a search adjustment handles locking onto mobs that are being ridden. Pressing sprint while locked keeps sprinting in the direction of movement, including backward. The lock icon can be recolored, resized and made transparent, and a white and black list in the config controls which targets are considered.
The mod is compatible with Leawind third person, ShoulderSurfing, and Indestructible Combat Evolution for the mob stamina bar. Settings are edited in the configuration screen or the config file. It is published for Forge only, across 6 release versions, 1.20.1 – 1.20.6, under All rights reserved, and is not open source. Its latest Forge file is 2.0.10 for 1.20.1, dated 2026-06-23.
Key features
Target switching
Mouse movement left or right changes the locked target to another enemy in view.
Automatic retargeting
When the locked enemy dies, the lock moves to the nearest other target without a manual selection.
Soft lock
A soft lock mode keeps the camera oriented toward the target while still allowing free aiming.
Lock icon options
The lock icon supports custom color, transparency and size, and can display the target's health and stamina.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Who it’s for: Players who fight with lock-on in combat-heavy adventure play, and who want the target to stay locked, switch cleanly and remain visible in third-person or with ShoulderSurfing.
Questions
Does Better Lock on need to be installed on the server?
Which Forge versions does Better Lock on support?
Can the lock icon be customized?
Does Better Lock on work with third-person mods?
In the catalog
Better Lock on is one of 3,545 Optimization mods on ModsFinder, and one of 1,441 Optimization mods for Forge. 11,154 mods support Minecraft 1.20.6.
More from ShelMarow
Similar mods
What the author says
The history update info: - Added a lock icon and the ability to display enemy health - Lock icons support custom color, transparency, size, and other settings, which need to be modified in config - You can now change targets while locked by moving the mouse left and right; - When locked, you don't need to wait for…
Official listing
- Modrinth page
- modrinth.com/mod/better-lock-on
- Owner
- ShelMarow
- Published
- 2025-11-12
- Updated on Modrinth
- 2026-06-23
- Facts verified
- 2026-10-15
