Community listing page, reviews here may not be monitored by the author.
StayNight
No reviews yet
Permanently locks your Minecraft world at midnight (tick 18000) with zero configuration, overriding all time mechanics client-side and server-side for eternal darkness.
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
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
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
Screenshots
Gallery
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
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers