ViewLock
ModMIT

ViewLock

This mod is a fork of View Lock by FamroFexl that is updated to 1.21.10. If the original project is updated, this will no longer be maintained.

171
Downloads
1
Followers
4 months ago
Updated
📦
1
Versions

📖About ViewLock

This mod locks your view to a specific direction and can be adjusted to only lock up and down or left and right. The view can also be locked to the closest x and y axes using a key. This is a fork of the original mod intended to maintain support of the latest release of Minecraft Java Edition.

See https://modrinth.com/mod/view-lock for original description of Mod. Here's their buymeacoffee link: https://buymeacoffee.com/famrofexl.

Requrements:

Usage:

Align your view to whichever x and y axis you would like and press Y. This will lock your view to those axes. To unlock/lock your up and down movement, press U. To unlock/lock your left and right movement, press I. Alternatively, just press U or I to unlock/lock your left and right or up and down movement.

Examples:

  • When using an afk farm, sometimes keeping the view steady and consistent can be difficult, especially when having to place blocks. This mod fixes that problem by allowing the user to configure their view to specific positions.
  • Repetitively placing down blocks can be quite tedious. Sometimes when placing long lines of blocks, the player will start to drift from side to side, requiring you to realign yourself. This mod allows you to align yourself to a specific axis so you don't have to deal with realignment.

Commands:

  • /vl <pitch: RelativeAngle> [yaw: RelativeAngle] - Precisely (and relatively) position your view to a specific pitch and yaw.
  • /vl block <location: vec3> [track] - Lock (and optionally track) your view to a specific block (with relative positioning).
  • /vl block view [track] - Lock (and optionally track) your view to the block in your crosshair.
  • /vl unlock - Unlock your view without losing your state.
  • /vl relock - Relock your view without losing your state.

Disclaimer: I don't typically use these when I use this mod, so if they don't work, feel free to submit an issue on the GitHub page, or just PR it yourself. I am not so prideful about this fork that I won't accept PRs.

Controls (Configurable):

  • Y (default): Toggle locks and unlocks the view to the closest x and y axes
  • U (default): Toggles locking on up and down view movement (x axis)
  • I (default): Toggles locking on left and right view movement (y axis)