Lock On Refabricated
by epicvon2468
Lock On Refabricated is an unofficial Fabric port of the Lock mod, which adds Zelda-style enemy targeting to the game.
What it does
Standing near a living entity within roughly 16 blocks lets the player press the Z key to lock onto it, and a target outline shows which entity is selected. Pressing Z again releases the lock. When several entities are nearby, the tab key switches the target to another one. The author notes that the range check is slightly broken at the moment.
The mod is a client-side only addition, so servers and other players do not need it. It requires MidnightLib on Fabric. Files are published for 1.19 – 1.20.1, with the latest build, v1.0.0+1.19, covering 1.19.4 and dated 2024-06-30. The project is released under The Unlicense, and its source code and issue tracker are publicly available.
Key features
Z-key targeting
Pressing Z while near a living entity locks the view and movement focus onto that target.
Target outline
A visible outline marks the locked entity so the player can tell which one is selected.
Switching between targets
The tab key cycles the lock to other entities nearby without releasing the lock first.
Short-range lock
A lock only works within about 16 blocks of the entity, which limits the targeting to nearby fights.
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
Melee combat
Holding a lock on a single enemy keeps the player facing it during close fights against mobs.
Crowded encounters
Cycling targets with the tab key lets a player move between several nearby mobs during a fight.
Who it’s for: Players who want Zelda-style lock-on targeting in Fabric Minecraft and do not mind a mod that is still being refined.
How it compares
Rotation Locker is a Fabric mod for 1.19 – 1.19.1, released under The Unlicense, and runs on client and server. Stay There is a Fabric mod for 1.19.2 – 1.19.4 under the MIT License, also needed on both sides. Enemy Lock-On is client-side only and has Fabric files for 26.2, but it is not open source.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Lock On Refabricated | Fabric | 1.19 – 1.20.1 | Client-side only | 2024-06-30 |
| Rotation Locker | Fabric | 1.19 – 1.19.1 | Client and server | 2022-08-04 |
| Stay There | Fabric | 1.19.2 – 1.19.4 | Client and server | 2023-08-22 |
| Enemy Lock-On | Fabric | 26.2 | Client-side only | 2026-08-19 |
Questions
Does Lock On Refabricated need MidnightLib?
Does the server need Lock On Refabricated?
Which game versions does Lock On Refabricated support?
In the catalog
Lock On Refabricated is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 34,764 mods support Minecraft 1.20.1.
More from epicvon2468
Similar mods
What the author says
For those unfamiliar with Lock On, it is a mod adding the targeting feature from The Legend Of Zelda series (and any other series with that feature, but it is done in the style of the Zelda targeting) See the 'images' tab for a visual representation of the mod in action. HOW TO USE: Stand near a living entity (it's…
Official listing
- Modrinth page
- modrinth.com/mod/lock-on-refabricated
- Owner
- epicvon2468
- Published
- 2024-06-29
- Updated on Modrinth
- 2024-06-30
- Facts verified
- 2026-10-15
