Community listing page, reviews here may not be monitored by the author.
Time Lib
No reviews yet
This is a library with real-time clock (RTC) and function tags for executing functions every real-time second, minute, hour or day
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
For Players:
display of real-time over the hotbar
/scoreboard players set <entity> time <value>
is a placeholder for selector (for example playername)
: 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[type=marker,tag=time] data.string
/data get entity @e[type=marker,tag=time,limit=1] data.string (for pre 1.21)
- as single strings 09
/data get entity @n[type=marker,tag=time] data.minute
/data get entity @e[type=marker,tag=time,limit=1] 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
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources