Home›Java›Mods›LockScreen
LockScreen
ModsJava

LockScreen

Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.

by Taurt · on Modrinth

Keeps your cursor inside Minecraft while your inventory is open, so a quick flick won’t send it onto your second monitor. Windows only.

⬇ Download on Modrinth

Ever opened your inventory, moved your mouse a little too far, and clicked something on your second monitor?

LockScreen keeps your cursor inside the Minecraft window while you’re using your inventory. Your mouse still moves normally between slots, but stays within the window’s edges.

Made for anyone who plays with multiple monitors and gets tired of accidentally clicking out of the game.

What it does

You can still use Alt+Tab to switch apps. The title screen, pause menu, and chat don’t activate the lock.

Requirements

Fabric API isn’t required. Install LockScreen on your own client; servers don’t need it.

Installation

Drop the LockScreen .jar into your Minecraft instance’s mods folder, then launch the game with Fabric.

A few quick answers

Does it work on macOS or Linux?
This version only supports cursor confinement on Windows.

Can I use it in multiplayer?
It works on your client without a server installation. It only handles cursor confinement; it doesn’t automate inventory actions.

Is there a toggle or settings menu?
Not in this version. It activates automatically when an inventory or container is open.

Does it support other Minecraft versions or loaders?
This build targets Fabric 1.21.11 only.

Early build

LockScreen has compiled and loaded successfully in Minecraft. Inventory confinement, resizing, and Alt+Tab still need hands-on verification across different monitor setups.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more