StayNight
Java mod listed for Minecraft 1.16–1.20. Downloads from the MC Java Mods app on Android.
Permanently locks your Minecraft world at midnight (tick 18000) with zero configuration, overriding all time mechanics client-side and server-side for…
I don't know my version or loader
Stay Night - Permanent Midnight Mod
Overview
Stay Night is a lightweight Minecraft mod that forever locks your world at midnight (tick 18000), creating a permanent night atmosphere perfect for horror maps, vampire roleplays, or players who prefer the mysterious ambiance of darkness. This mod seamlessly overrides time mechanics on both client and server sides to maintain eternal night.
Key Features
🌙 True Permanent Night
- Forces all worlds to remain at 18000 ticks (midnight) regardless of time commands, sleep attempts, or natural cycles.
- Works in both singleplayer and multiplayer environments.
🛡️ Comprehensive Time Control
- Intercepts time-setting logic in:
- World data (
PrimaryLevelData,DerivedLevelData) - Client/Server level handlers (
ClientLevel,ServerLevel) - Network time-sync packets (
ClientboundSetTimePacket)
- World data (
- Blocks all attempts to modify the time of day
⚡ Zero Configuration
Instantly works upon installation - no configs or commands needed!
🧩 Compatibility
Compatible with most mods that don't directly alter time mechanics.
Technical Implementation
The mod uses bytecode manipulation to:
- Override time setters
@ModifyVariable(method = "setDayTime", at = @At("HEAD"), argsOnly = true) private long stayNight(long dayTime) { return 18000L; // Always force midnight } - Hijack time getters
@Inject(method = "getDayTime", at = @At("HEAD"), cancellable = true) private void stayNight(CallbackInfoReturnable<Long> cir) { cir.setReturnValue(18000L); // Always report midnight } - Patch network synchronization
ManipulatesClientboundSetTimePacketto prevent servers from overriding the eternal night.
Use Cases
- Horror/adventure maps requiring permanent darkness
- Vampire/fantasy roleplay servers
- Atmospheric builds showcasing night lighting
- Gameplay challenges without daylight cycles
Logo generated by https://www.doubao.com/chat/, CC BY 4.0
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.20.1, 1.19.2, 1.18.2
- 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 CurseForge — 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 staynight-1.20.1-1.0.0.jar — drop this file into the mods folder
- Download size: 9 KB
- Download link checked 2 Oct 2026 — working
These come from our own check of the pack file, not from the source page.