Lock On
by Maxmani
Lock On is a Fabric mod that lets players lock their view onto a nearby monster and keep it there during a fight.
What it does
Lock On is a client-side only mod, so only the player's client needs it and servers can run without it. It is ported to Fabric and published for 1.20 – 1.20.4, with the latest file targeting 1.20.4. Cloth Config API and Fabric API are required, and Mod Menu is optional for opening its settings screen. The source code is open source under the MIT License.
Key features
Lock onto nearby enemies
Pressing the lock key fixes the camera on a nearby hostile mob, so attacks stay aimed at it.
Switch between targets
When several monsters are close, a second key cycles the lock to another target.
Automatic release
Moving too far from the target or killing it ends lock-on mode without any extra input.
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 2
Optional 1
How it compares
NoteLock runs on the server alone and is published for 1.20.2 under the MIT License, so players need no install. Camera Lock is also client-side only and open source under the MIT License, but its files target 26.1 – 26.1.2 instead.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Lock On | Fabric | 1.20 – 1.20.4 | Client-side only | 2023-10-23 |
| NoteLock | Fabric | 1.20.2 | Server-side only | 2023-09-23 |
| Camera Lock | Fabric | 26.1 – 26.1.2 | Client-side only | 2026-06-15 |
Questions
Does Lock On need Cloth Config API?
Does the server need Lock On installed?
In the catalog
Lock On is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 13,907 mods support Minecraft 1.20.4.
More from Maxmani
Similar mods
What the author says
Mostly based on and ported to Fabric from Lock On. Parts of the mod were rewritten to accommodate special features and configuration options. This mod adds two new keys to Minecraft. One to lock on to nearby monsters (and Interaction entities, in case of server plugin custom mobs) and another to switch between…
Official listing
- Modrinth page
- modrinth.com/mod/lock-on
- Owner
- Maxmani
- Published
- 2023-10-22
- Updated on Modrinth
- 2023-10-23
- Facts verified
- 2026-10-15
