Time Lib 图标

Time Lib

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/time-lib
资源信息

Minecraft 版本: 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10

平台: datapack

标签: library

资源介绍

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
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Subtle Variants

价格:0 墨喵币
下载量:0

查看详情
Faithful Serif

价格:0 墨喵币
下载量:0

查看详情
NOISE [CURSED]

价格:0 墨喵币
下载量:0

查看详情
CommandActions

价格:0 墨喵币
下载量:0

查看详情