Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
TimeLib

TimeLib

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

1,956
20
Library
Utility
AboutGalleryChangelogVersions
All versionsTimeLib v2.1.0

TimeLib v2.1.0

Download
Report

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(27.81 KiB) Primary
Download

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Metadata

Release channel

Release

Version number

2.1.0

Loaders

Data Pack

Game versions

1.21.5, 1.21.6, 1.21.7

Downloads

214

Publication date

April 19, 2025 at 8:01 PM

Publisher

SilicatYT

SilicatYT

Owner

Version ID

Modrinth is open source.

main@a0bd011

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.