
NightLock
"Locks" the day cycle during a configurable time of day and/or night. Free Minecraft Java mod for 1.21.1.
⬇ 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.
- Ships as nightlock-1.0.jar — drop this file into the mods folder
- Download size: 6 KB
- Download link checked 20 Aug 2026 — working
These come from our own check of the pack file, not from the source page.