← Назад к ресурсам

Extended Time

This mod allows you to customize the exact duration of the day-night cycle via a simple command, enabling real-time gameplay (24h) or any speed you desire.

Modrinth game-mechanics management utility

Описание

# Extended Time ### Real-Time Day Cycles [![MCreaHub](https://img.shields.io/badge/Project_Setup-MCreaHub-blue?style=for-the-badge)](https://mcreahub.pages.dev/) [![NeoForge](https://img.shields.io/badge/NeoForge-1.20+--1.21+-orange?style=for-the-badge)](https://neoforged.net/) [![Fabric](https://img.shields.io/badge/Fabric-Available-white?style=for-the-badge&logo=fabric)](https://fabricmc.net/) [![Forge](https://img.shields.io/badge/Forge-Available-red?style=for-the-badge)](https://files.minecraftforge.net/) [![GitHub](https://img.shields.io/badge/GitHub-Source-black?style=for-the-badge&logo=github)](https://github.com/Dreyka-Oas/ExtendedTime) [![License](https://img.shields.io/badge/License-MIT-green?style=for-the-badge)](https://opensource.org/licenses/MIT) **Extended Time** gives you total control over the duration of a Minecraft day. Whether you want a realistic **24-hour cycle**, a 1-hour "long day," or a custom duration, this mod handles it with precision. [Report a Bug](https://github.com/Dreyka-Oas/ExtendedTime/issues) **`✅ SERVER-SIDE ONLY: This mod does not need to be installed on the client.`** --- ## 🚀 Features ### Smooth Engine Unlike basic commands that "skip" ticks, **Extended Time** uses a precise **Accumulator Algorithm**. It ensures the **smoothest possible sun movement** achievable server-side by calculating exact tick additions. ### Capabilities * **Custom Duration**: Set day length to any number of minutes. * **Real-Time Sync**: Sync Minecraft sun with your actual server clock. * **Presets**: Switch between 24h, 1h, 12h modes instantly. * **No Conflicts**: Automatically handles `doDaylightCycle`. * **Persistent**: Settings save automatically. ## 🕰️ Mechanics Vanilla Minecraft runs on a 20-minute cycle. **Extended Time** decouples game time from tick rate. | Setting | Effect | | :--- | :--- | | **Vanilla** | 20 minutes cycle. | | **60 Minutes** | Time passes **3x slower**. | | **1440 Minutes** | **24 Hours Real-Time**. | | **Sync** | Sun position matches local clock. | ## 💻 Commands Requires **OP Level 4**. ### Set Duration Define specific day length in minutes. * `/extendedtime set 60` (1 Hour) * `/extendedtime set 1440` (24 Hours) ### Presets Quickly apply settings. * `/extendedtime preset real_life` * `/extendedtime preset long_day` * `/extendedtime preset half_day` * `/extendedtime preset minecraft` ### Sync Time Align game time with real world clock. * `/extendedtime sync_realtime` ### Reset Return to vanilla behavior. * `/extendedtime reset` ## 📂 Configuration Saved to `config/extended_time.json`. ```json { "day_duration_minutes": 1440.0 } ```