Описание
# Extended Time
### Real-Time Day Cycles
[](https://mcreahub.pages.dev/)
[](https://neoforged.net/)
[](https://fabricmc.net/)
[](https://files.minecraftforge.net/)
[](https://github.com/Dreyka-Oas/ExtendedTime)
[](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
}
```