Mod Extended Days by SilentChaos512

  • Extended Days by SilentChaos512

    Add extra time to days and/or nights.
    • 47.41 KB
    • 1.12.2
    • January 4, 2018
    • November 30, 2018
    • Server Utility
    Extended Days
Mod Information
NameExtended DaysAuthorSilentChaos512DescriptionAdd extra time to days and/or nights.
InformationDownloads:
Version: 1.12.2
Size: 47.41 KB
Updated at: November 30, 2018
Created at: January 4, 2018
Tags
Server Utility

Found a bug? Have a feature suggestion? Please use the issue tracker on GitHub (link).

Introduction

Have you ever felt like just ten minutes before nightfall was too short? This mod allows you to make days and nights longer... or shorter. The amount of extra time is configurable and you can adjust days and night independently. It also adds its own clock HUD element.

This is actually not a core mod. That was a goal when developing this mod. Changing time in Minecraft is unfortunately very difficult, basically impossible. This mod uses some tricks to simulate extra time, but there are some mods this does not work well with.

How Does It Work?

At certain times during the day/night cycle, the mod will "freeze" time. The game will continue to run normally and the sun/moon/stars will move as you would expect (if the sky renderer is enabled). After a configurable amount of time, time is "unfrozen". These are called extended periods. You can have as many extended periods as you want. Entering a negative number for the added minutes will skip time ahead (buggy), instead of extending it. By default, there is one extended period at noon (MC time 6000) and one at midnight (18000).

The default config adds 30 minutes at noon and 10 minutes at midnight. This make days a total of 40 minutes long and nights 20 minutes, for a total of 1 hour per day/night cycle. Add, remove, or change extended periods as you see fit.

Any Downsides?

  • Mods that also change sky rendering may have issues. Extended Days' sky renderer can be disabled in the config if necessary.
  • Some mods that use world time for entity AI may not work during extended periods (such as Millénaire).
  • Shortening days/nights with negative periods will cause the sky to jump ahead.
  • Vanilla clocks will not be as useful (but not worthless).
  • The "/time set" command may not work as you would expect.
  • If playing with Tough As Nails, this might make temperature management more difficult, depending on when your extended periods occur (maybe moving them to morning/evening would help?)

Otherwise, everything should function normally. Tile entities will continue ticking at a normal rate. Most entity AIs should be unaffected.

Requirements


Clock Bar

Since you can't just look up at the sun/moon to get an idea of how much time you have left, the mod adds a clock to your HUD. Normally, this is only visible when you have a clear sky above your head, or when you have a clock or pocket watch in your inventory. Or you can configure it to be visible at all times. The sun (or moon during the night) indicates how far into the day you are. So it goes from sunup to sundown.

The clock can be re-positioned through the config file. The mod has a config GUI, so just go into the Mods menu, select Extended Days, then click Config to edit it without restarting the game.

Pocket Watch

The pocket watch is an upgraded clock, crafted with a clock and some type of quartz (nether quartz will work). It is not animated like the vanilla clock, but just having it in your inventory causes the clock bar to render at all times. An exact time will also be displayed next to the clock bar.


Future Plans and Known Issues

The mod is still early in development. Some additional features are planned and some minor issues remain to be fixed. Bug reports and feature suggestions belong on the issue tracker.

  • A command to set time accurately. The mod already adds one (/edtime set), but it's not very intuitive at the moment. It's a bit tricky because of how the mod tracks time, but it should be solvable.
  • Might try seasons, not sure about that.
  • [Added] A pocket watch item to replace the vanilla clock. It will allow you to see the clock HUD at any time and give you a more accurate time reading. Works from anywhere in your inventory and is Baubles compatible.
  • [May not do this] Add markers to the clock to indicate when the extended period occur.
  • [Fixed] Version 0.1.0 is not syncing time properly between client and server. The clock HUD won't display correct values when playing on a server. But the mod still works on servers. Singleplayer is unaffected.