
NightLock
Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.
⬇ Download on ModrinthOverview
Prevents the daylight cycle from progressing once a certain time of day or night is reached, requiring the player/players to sleep in order to progress the time. Best paired with a mod or modpack that requires the player to find a safe place to sleep or otherwise set up camp for the night.
Configuration
Can be located in nightlock-server.toml
nightLock: Whether to stop time progressing during the night. Default on.
dayLock: Whether to stop time progressing during the day. Default off.
nightLockTime: What time to lock the night at. Defaults to Midnight.
dayLockTime: What time to lock the day at. Defaults to Noon.
Ports
Will only happen to the latest "community consensus" version of Minecraft mods are made for, at my discretion.
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as nightlock-1.0.jar — drop this file into the mods folder
- Download size: 6 KB
- Download link checked 21 Oct 2026 — working
These come from our own check of the pack file, not from the source page.