TimeLib

TimeLib

Data pack

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

Server LibraryUtility

2,823 downloads
26 followers
Follow Save
TimeLib has been archived. TimeLib will not receive any further updates unless the author decides to unarchive the project.

TimeLib v2.1.0

Changelog

âš  BREAKING CHANGES

This version contains breaking changes. Make sure you uninstall the previous version and check if the breaking changes affect your datapack.

Breaking changes:

  • Changed the data structure of timelib:date and timelib:output

Additions:

  • The tickrate can now be retrieved from the TimeLib.Tickrate scoreboard
  • Added a game_unpaused function tag that runs whenever the game is unpaused (from singleplayer or /tick unfreeze)
    • You can get the number of paused ticks from the TimeLib.PausedTicks scoreboard

Changes:

  • timelib:output now contains the daytime as well
  • timelib:output and timelib:date now additionally contain a stringified form of the month with leading zeros
  • Added more information regarding leftover data in the uninstall function
  • Changed some tellraw formatting

Bugfixes:

  • Fixed a wrong comment in the "How to" section of unix_timestamp_to_date

Files

TimeLib.zip(28.51 KiB) Primary Download

Project members

SilicatYT

Owner

Details

Licensed MIT
Published 2 years ago
Updated 3 months ago