Community listing page, reviews here may not be monitored by the author.
Custom Day Cycle
No reviews yet
This is a datapack that adds the ability to fully customize your day/night cycle, including sleep percentage!
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
Resources
External Links
About
Description
Custom Day Cycle Take full control of time in Minecraft. This datapack allows you to set the duration of Day and Night independently, while maintaining a fully functional multiplayer sleep system and accurate day counting.
Whether you want a 24-hour real-time server, long summer days with short nights, or a hardcore survival experience with endless nights, this datapack handles it all without mods—just vanilla commands.
✨ Features
- Independent Cycles: Set Day and Night to different lengths (e.g., a 60-minute Day and a 5-minute Night).
- Smooth Time Progression: Time advances smoothly every tick, not in choppy jumps.
- Smart Multiplayer Sleep: Set a required percentage of players to skip the night (0% to 100%).
- Includes a cinematic sleep delay: The night waits 5 seconds after the percentage is met, allowing players to see the "lying down" animation and screen fade before the sun rises.
- Accurate Day Counter: Unlike other time-skipping tools, this pack calculates the exact time for the next morning. Your F3 Day Counter and Local Difficulty will continue to increase correctly.
- Lag Friendly: Optimized to run minimal checks when players aren't sleeping.
🛠️ Commands All settings can be changed on the fly using macro commands. You do not need to edit any files.
Time Settings
- /function custom_day:set_day {mins:60} Sets the Day (Sun) to last 60 minutes.
- /function custom_day:set_night {mins:20} Sets the Night (Moon) to last 20 minutes.
- /function custom_day:set_all {mins:30} Sets Both Day and Night to 30 minutes each.
Sleep Settings
- /function custom_day:sleep_percentage {percent:50} Sets the percentage of players required to sleep. (Example: 50 = Half the server must sleep)
- /function custom_day:sleep_percentage {percent:100} Default. Everyone must sleep to skip.
- /function custom_day:sleep_percentage {percent:1} Only one person needs to sleep to skip.
Administration
- /function custom_day:init Resets the system, creates scoreboards, and applies defaults.
📦 Installation
- Download the .zip file.
- Open your world folder (Singleplayer) or server directory.
- Place the zip file into the datapacks folder.
- Run /reload in-game.
- Run /function custom_day:init to complete the setup.
⚠️ Uninstallation Because this datapack manages the daylight cycle manually, you must follow these steps to remove it safely, otherwise, the sun will stop moving.
- Run this command to restore vanilla time: /gamerule doDaylightCycle true
- Delete the datapack file from your datapacks folder.
- Run /reload.
📝 Compatibility Minecraft Version: 1.21+ (Requires Macro arguments support).
Mod Loaders: Works on Vanilla, Fabric, Forge, Paper, and Spigot.
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
Statistics
Resources