Community listing page, reviews may not be monitored by the author.
Mouse Lock
No reviews yet
Toggle mouse locking to assist you with repetitive tasks where you need to go in a straight line, such as farming, planting crops when already aligned to an angle
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
Runs entirely on the client. Works on vanilla servers.
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
Mouse Lock
This mod adds one single useful feature - locking your player's head rotation, blocking mouse movement inputs when told so.
This is often used for low-interaction repetitive tasks where you need to go in a straight line, having set up the right angle in advance. The main expected usecase is different forms of farming or planting crops, but you can come up with new ways.

Using the Feature
To turn the feature on or off, you can use a keybind or a command.
With a Keybind
First of all, set a keybind of your choosing (not set by default), and then just press it when you need to lock your angle:

With a Command
You can use /mouselock to lock or unlock the angle. It mostly exists for cases where you would need to trigger it with an another mod.

Config/Settings
You can configrure the mod with /mouselock settings command or by finding the mod in the mod list and clicking the settings button.
"Mouse Locked" text overlay lets you change:
- It's size and position
- Whether it should lift up when hearts are visible
- Whether mouse lock should reset when leaving or changing worlds.

Usage on servers
The mod just does the same thing as if you didn't move your mouse, which is quite possible, so it's should generally not cause issues, but, of course, it's your responsibility to be aware of a server's rules.
Versions
The mod supports a lot of different versions. Most are backported, and such don't get active support - only the up-to date version does.
One more useful note is that the developer is not actively checking github issues (since they can't send notifications in any way), so those may get ignored even for months. Maybe there will be a discord server later to contact the dev easier.
You can still suggest useful changes or ideas for new features though (maybe for a separate mod), even on the issue tracker.
Hope this mod helps someone :D
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Get it on
Available Platforms
On ModDex
Community snapshot
By the numbers