Lock On
Modby tfarecnim
Lock on to enemies like in LoZ: Ocarina of time
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
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Screenshots
Similar Mods
Damage Number
This mod renders a number in the top-right corner of screen.
Vanilla Music Discs
With this mod you can listen to any minecraft music that previously played randomly in the background
Create: Alex's Caves Compat
Adds compatibility between Create and Alex's Caves
Additional Bars [FABRIC]
Adds additional bars to the game that go along with Iron Bars!
Create Big Cannons: Advanced Technologies
An Addon for the Create Big Cannons Mod, adding new Cannons and Mechanics
Hud Texts
If you want UI texts with variables then this mod is for you.