Time Lib
🟡 Updated this yearPreview

🔍 Analysis
- 🏆 #629 of 2169 datapack mods in this game by downloads
📋 About This Mod
## For Players: display of real-time over the hotbar ``` /scoreboard players set <entity> time <value> ``` <entity> is a placeholder for selector (for example **playername**) <value>: 1 -> on, 0 -> off ### important: Time of the Server Location (may be different from client) ## For datapack Creators: ### ways to **get** real time: - in scoreboards ``` /scoreboard players get minute time ``` (works as well with "second","hour","day") - as formated string _10:09:34_ ``` /data get entity @n data.string /data get entity @e data.string (for pre 1.21) ``` - as single strings _09_ ``` /data get entity @n data.minute /data get entity @e data.minute (for pre 1.21) ``` (works as well with "second","hour") ### ways to **use** real time: - in execute ``` execute if score minute time matches 30 ``` (works as well with "second","hour","day") - in function tags (file in your datapack) ``` data/time/tags/function/minute.json data/time/tags/functions/minute.json (for pre 1.21) ``` (works as well with "second.json","hour.json","day.json","tick.json") ### good to know: - tags will start running from "day.json" > "hour.json" > "minute.json" > "second.json" > "tick.json" - This datapack may be not the first loaded. If your datapack loads first, the times will be old - "day" is realtime day counted up from first time the datapack loaded in days only when ticks run -> Server (or world) has to run min. once a day to count up - uses a ticking commandblock at 0 319 1
## For Players:
display of real-time over the hotbar
```
/scoreboard players set
### important: Time of the Server Location (may be different from client)
## For datapack Creators: ### ways to get real time: - in scoreboards ``` /scoreboard players get minute time ``` (works as well with "second","hour","day") - as formated string _10:09:34_ ``` /data get entity @n data.string /data get entity @e data.string (for pre 1. 21) ``` - as single strings _09_ ``` /data get entity @n data.minute /data get entity @e data.minute (for pre 1. 21) ``` (works as well with "second","hour")
### ways to use real time: - in execute ``` execute if score minute time matches 30 ``` (works as well with "second","hour","day") - in function tags (file in your datapack) ``` data/time/tags/function/minute.json data/time/tags/functions/minute.json (for pre 1. 21) ``` (works as well with "second.json","hour.json","day.json","tick.json")
### good to know: - tags will start running from "day.json" > "hour.json" > "minute.json" > "second.json" > "tick.json" - This datapack may be not the first loaded. If your datapack loads first, the times will be old - "day" is realtime day counted up from first time the datapack loaded in days only when ticks run -> Server (or world) has to run min. once a day to count up - uses a ticking commandblock at 0 319 1
📊 Mod Details
- Game
- Minecraft Data Packs
- Author
- Edward821821
- Version
- 1.0
- Downloads
- 151
- Endorsements
- 0
- Category
- datapack
- Created
- 11/17/2025
- Updated
- 11/16/2025
- Game Versions
- 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9
- Tags
- library
🔧 How to Install Minecraft Data Packs Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Data Packs →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Data Packs commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Data Packs versions does Time Lib support?
The author lists 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10. Other versions may work but are untested by the author.
What is the latest version of Time Lib?
Version 1.0, published 2025-11-16 with 151 downloads recorded at the source.
Keep browsing — more Minecraft Data Packs mods await