Combat targeting
Lock onto a target with spells, bows or melee weapons, and switch between visible opponents.
Press Q to lock onto a target with a readied aimed or beam spell, a bow, a crossbow or a Better Combat weapon. Press it again to release. A small white light marks the exposed point your camera follows.
Camera lock-on runs on your client and sends spell target messages and a short-lived aim hint for projectile launches. Harmful target eligibility and your acquisition mode are server-owned. The camera eases onto a new target and follows its visible hitbox as either character moves. Better Third Person gives up free look while a target is locked and restores it on release.
During an Elf bowstep, the camera follows the foe for the duration of the flip. Landing or interruption returns control to free aim or restores the previous valid lock. See Archery.
Combat controls
| Input or event | Result |
|---|---|
| Q | Acquire the target under the crosshair or a nearby eligible target. Press again for free aim. |
| Shift + Q | Toggle mining with weapons. A caption confirms the new setting. |
| Scroll down | Select the next target to the right. |
| Scroll up | Select the next target to the left. |
| Shift + scroll | Change the selected hotbar item. |
| Deliberate mouse flick | Select an eligible target in that direction, including above or below. |
| Small mouse movement | Keep the current lock. |
| Hold the spell or skill selector and scroll | Browse that selector while tracking your target. |
With a visible lock, the target gesture keeps your item selected even when there is no second target. With no lock, ordinary scrolling changes hotbar slots. Changing slots releases the lock. If you use Q for lock-on, assign Drop Selected Item another key for gameplay.
Open Combat Lock-on in client settings to disable tracking, swap the two wheel gestures or turn off mouse-flick switching. Rebinding the lock key in Controls also moves its Shift mining shortcut.
Target-acquisition modes
Press O by default, or rebind Switch combat targeting mode in Controls. The caption confirms the server’s selection. The choice belongs to your character and survives reconnects and respawns.
| Mode | Harmful spell and arrow targets |
|---|---|
| Enemies only | Monsters, hostile factions, attacking mobs and a player who recently hurt you. |
| Non-allies | Default. Neutral creatures and unaligned players are eligible. PvP must be enabled on the server. |
Both modes protect teammates, their owned pets, followers and bound summons, friendly NPCs, and friendly factions. Healing and buffs keep their helpful-target rules. Server permissions and PvP restrictions still apply.
Arrows use the same protection rules for collision and damage. The same filter covers acquisition, barrage selection, homing, projectile contacts and harmful spell impacts. A rejected entity does not consume a projectile; terrain collision still works. Switching modes refreshes an active lock, and an in-flight projectile drops a target that becomes protected. Target classifications refresh within 10 ticks (0.5 seconds); the server checks live relations before permitting harm. New targets remain protected until their classification arrives.
Choosing a target
With a bow, crossbow, melee weapon or offensive aimed spell readied, you can lock onto a visible opposing player within range when server PvP is enabled. In Enemies only, you can keep that player in view before they attack. Your arrows and harmful spells can hit them once they hurt you and the retaliation window opens. Healing and buffs follow their own targeting rules. You cannot acquire yourself, your riding group or a target invisible to you through lock-on. A spell’s self-target fallback still works without locking the camera.
| Selection rule | Value |
|---|---|
| Initial assistance around the crosshair | 12° |
| Switching region around your facing | 70° |
| Maximum assistance and switching distance | 48 blocks for spells, bows, crossbows and melee weapons |
| Mouse flick | 18° of sensitivity-adjusted travel within 220 ms |
| Minimum interval between switches | 250 ms |
| Obstruction grace | 6 ticks (0.3 seconds) |
| Smooth target handoff | 160 ms |
The wheel wraps across the visible group when there is no target farther in that direction. A flick never wraps to the opposite side.
Once acquired, a moving target stays selected without needing to remain inside the initial assistance region. A beam retains its line of effect and can hit other valid targets along that line.
You can track an opponent before drawing a bow or entering melee reach. Locked arrows and direct, non-homing spells aim slightly ahead of an opponent walking steadily across level ground. When a slime hops, they aim where it is at release. It can still move out of the shot. Each spell keeps its casting range, and each swing uses the weapon’s reach and attack arc.
As you close in, the light moves toward your eye level within the target’s body. On a small creature it settles near the top. From farther away it rests on the torso. In first person a creature at your feet can sit below the centre of the screen while your attacks still aim at the light. If cover hides the preferred spot, the lock searches the exposed parts of the hitbox. Projectile casts require a clear point from both your eyes and the launch position.
Losing sight
Brief obstruction hides the dot and returns mouse control. During a cast the target name turns amber. Tracking resumes if the target reappears within the grace period.
When the target dies, the lock searches the 70° switching region once for another eligible, visible target. If none qualifies, you regain free aim. Losing range, eligibility or sight beyond the grace period also releases the lock.
Opening a screen or yielding control to a dialogue or cinematic releases tracking. Press Q to acquire again. Player replacement and disconnect discard the lock.
Other spell shapes
Aimed instant spells can use an existing lock. A homing cast or a swing that releases prepared ammunition takes the visible locked enemy within its targeting range. Delayed shots keep the target selected at release. Self and area spells use their own targeting rules. The casting meter shows the target name, count or free aim.
First-person circles
Under Spell circles, keep First-person magic circle enabled and adjust First-person circle opacity (%) from 0–100. The default is 35%; 0 hides your casting circles and 100 preserves their full animated opacity. This includes Punchy hand circles. Other casters, third-person circles and independent world circles keep their usual appearance. Casting, reveal timing and fade-out continue at every opacity. Save the setting to apply it without reconnecting or reloading shaders. Under Iris, circle emission fades with this setting while keeping the existing arrival and release animation.
Spell definitions
Spell data describes target shapes and ranges. Spell formulas covers the spell you prepare before casting.