Enemy Lock-On
by not.unnamed
Enemy Lock-On is a Fabric client mod that locks the camera onto nearby entities, with smooth, configurable tracking for combat targeting.
What it does
Pressing the default key activates normal targeting, which searches for a valid entity around the crosshair within the configured Detection Radius. Targets are prioritized by the current view direction, so a player can choose what to lock on instead of always getting the closest entity. Candidates are ranked by real three-dimensional distance from the player, and the configurable Maximum Target Distance sets the outer limit of the search. Entity-type filters decide which kinds of mobs count as valid.
Persistent Lock-On is a separate mode that keeps searching nearby enemies continuously and stays enabled until toggled off. Pressing ALT with the default key toggles it, and it can be fully enabled or disabled in the configuration menu. If the locked entity is killed or stops qualifying, Enemy Lock-On picks up a nearby substitute on its own, while the left and right arrow keys step through the candidates in either order. The mod is client-side only, so only the player's client needs it, and it requires Fabric API. It is licensed under the Apache License 2.0 and is not open source. Files are published for Fabric and 26.2 only.
Key features
Smooth camera tracking
The camera follows a locked entity smoothly, and the tracking speed can be adjusted in the configuration.
Automatic retargeting
When the current target dies, the mod acquires the nearest valid entity without any key press.
Cycling between targets
Arrow keys move the lock to the previous or next valid target, wrapping around in both directions.
Lock marker and HUD
A small square marks the point the mod tracks at the center of each locked hitbox, and the HUD shows the current lock-on state.
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
Use cases
Who it’s for: Players who want targeted combat camera control in action-style fights on Fabric clients. Servers do not need the mod.
How it compares
Camera Lock is a Fabric client mod for 26.1 – 26.1.2, released under the MIT License and open source. Keypad Lock is open source under the GNU Lesser General Public License v3.0 only and needs both client and server for 1.21.4 – 26.2. Lock Your Inventory is not open source, is released under the MIT License and is a client mod for 26.2 – 26.3, a different purpose, but overlapping in version range.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Enemy Lock-On | Fabric | 26.2 | Client-side only | 2026-08-19 |
| Camera Lock | Fabric | 26.1 – 26.1.2 | Client-side only | 2026-06-15 |
| Keypad Lock | Fabric | 1.21.4 – 26.2 | Client and server | 2026-06-20 |
| Lock Your Inventory | Fabric | 26.2 – 26.3 | Client-side only | 2026-09-15 |
Questions
Does Enemy Lock-On need Fabric API?
Does a server need Enemy Lock-On installed?
Which game versions does Enemy Lock-On support?
In the catalog
Enemy Lock-On is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 13,894 mods support Minecraft 26.2.
More from not.unnamed
Similar mods
What the author says
Enemy Lock-On is a client-side Fabric mod that adds smooth, highly configurable entity lock-on targeting inspired by lock-on systems found in action games. Lock onto nearby entities, smoothly track them at full render speed, cycle between targets, automatically compensate for projectile drop, or enable a persistent…
Official listing
- Modrinth page
- modrinth.com/mod/enemy-lock-on
- Owner
- not.unnamed
- Published
- 2026-08-19
- Updated on Modrinth
- 2026-08-19
- Facts verified
- 2026-10-15
