Lock On
Modby tfarecnim
Lock on to enemies like in LoZ: Ocarina of time
Type
Mod
CurseForge Downloads
252,918
CurseForge ID
409349
Last Updated
Jun 11, 2026
Description
This mod adds a key to lock on to nearby entities, similar to the lock on feature in Legend of Zelda: Ocarina of Time.
While locked on, tab is used to switch targets, or press the lock on keybind to exit lock on mode.
Killing the current target, the target no longer being visible, or leaving the world will leave lock on mode.
Note that while lock on can track an entity as long as it's visible, it will not select mobs that are more than 10 blocks away.
quick demo

1.18+ changes
In 1.18, the mod has been rewritten for better mod compatibility, and better targeting, now comes with a configurable icon
This mod was made on commission. If interested in commissioning a custom mod, join the Discord server under #mod-commissions
Just want to chat? Have a complex issue needing additional discussion?
Want to help support this mod and others? donate to my Patreon in the link below
Screenshots
Similar Mods
Epic Fight - Better lock on
Added a lock icon for EF, as well as other optimizations
Shady Alchemist
The Alchemist can now have Special Trades to Make Profitable Items
AstikorCarts Redux
Horse powered carts and plows, now for 1.20!
Effect Tooltips
Adds tooltips to the potion effect section of the inventory.
Villager Recruits: Claim and Siege Update!
Recruit and command villagers, manage armies through custom GUIs, enjoy PvP with diplomacy and team compatibility, and f...
Copper Pot! (A Farmer's Delight Add-on)
An accidental (yet firm) slap in the face of those who dislike food granting effects.