nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
TimeLib

TimeLib

Data pack

Get the real life date & time tick-perfectly and efficiently!

Server LibraryUtility

707 downloads
9 followers
Filter versions...
Filter channels...

Additions:

  • Added a new data storage (timelib:output) that contains additional output for "util/get_date":
    • Day value as a string, with 0 prefix
    • WeekDay String (Long & Short)
    • Month String (Long & Short)

Changes:

  • Improved the "util/get_date" description
  • The day in the data storages is now always stored as a string

Additions:

  • Added a new data storage (timelib:date) that contains:
    • Day value as a string, with 0 prefix
    • WeekDay String (Long & Short)
    • Month String (Long & Short)
  • Added a new function tag (#timelib:time_updated) that gets run whenever timelib updated the time or the date changes
  • Added a new setting to disable the reload messages

Changes:

  • Moved the "load" and "init" functions to the zprivate folder to make it clear they're not meant to be run by users
  • Updated to 1.21
  • Updated to 1.20.5 & Item Components (Not backwards compatible!)
  • TimeLib now refreshes as soon as it can, instead of after 1 second when reloading
  • Fixed a bug where reloading shortly before a second, minute or hour passed would desync the timer for a moment
  • Made the command in the command blocks shorter
  • Added "minecraft:" prefix where possible for consistency

Bugfixes:

  • Fixed a logic error in the Timezone Offset that made it impossible to go backwards on the date
  • The same error prohibited timezone offsets from being bigger than 24h, or smaller than -24h

Bugfixes:

  • Fixed Timezone Offset not working properly when set to a negative value

Bugfixes:

  • Fixed Timezone Offset not working properly

Changes:

  • Added an icon
  • Removed 2 private scoreboard objectives
  • The 2 Offset settings now accept input in hours instead of seconds

Bugfixes:

  • Fixed a bug where the 'TimeLib.Uninstall' objective would sometimes not be removed
  • Fixed a mistake in a proposed command in the settings menu
  • Removed a line that sets an unused fake player score

Changes:

  • Schedule loops are now stopped when uninstalling as well
  • Fake players are now reset when uninstalling (Because they don't disappear from the list otherwise), except for the #c... ones
  • Renamed the internal Fake Players for settings

Changes:

  • Updated README.md to reflect the changes
  • Renamed 'UnixLib' to 'TimeLib'
  • Changed the pack format & description
  • Changed how Fake Player names and Scoreboard Objective names are structured (Previously with _ and now with .)
  • Slightly altered the error message when trying to uninstall TimeLib

Bugfixes:

  • Fixed a bug where the Unix Timestamp would not update properly after unpausing with the "Singleplayer" mode enabled

Additions:

  • Added an 'uninstall' function for removing scoreboards & data storages
  • Added a message to the 'init' function

Changes:

  • Updated README.md to reflect the changes
  • Slightly altered a note in "unixlib:unix/update" to reflect newer versions

Bugfixes:

  • Removed an optimisation when calling "unixlib:unix/update" that could under rare circumstances prevent newer Unix Timestamps from player heads from being detected

Bugfixes:

  • Fixed a bug where the default settings would not set properly when first installing the Data Pack

External resources


Project members

SilicatYT

Owner


Technical information

License
MIT
Project ID