- check_circle Functions
- 2,119 views, 2 today
- 249 downloads, 0 today
7
A Datapack based off of Execute Game Studio's Date and Time
When the player is holding a clock in their hand it will show the Day, Hour, and Lunar Phase using (time query day) and allows the time to progress forward and be changed without any issues.
The Key Feature of this Clock Data pack is that it does not and will never use an internal clock that is not in some way connected to the dayclock and gameclock, so thus the clock with always reflect those values and or changes made to them, like /time set/add.
This can be used with my Lunar Events (Lunar Phases Fork)
How to install
1)Download the data pack
2)Drag the newly downloaded folder into your datapacks folder
3) /reload
When the player is holding a clock in their hand it will show the Day, Hour, and Lunar Phase using (time query day) and allows the time to progress forward and be changed without any issues.
The Key Feature of this Clock Data pack is that it does not and will never use an internal clock that is not in some way connected to the dayclock and gameclock, so thus the clock with always reflect those values and or changes made to them, like /time set/add.
This can be used with my Lunar Events (Lunar Phases Fork)
How to install
1)Download the data pack
2)Drag the newly downloaded folder into your datapacks folder
3) /reload
Compatibility | Minecraft 1.18 |
to | Minecraft 1.19 |
Tags |
1 Update Logs
Update V2 : by MixtapeXD 01/06/2023 9:34:58 pmJan 6th, 2023
* Made HoursDisplay use 12 hour clock with AM and PM
* Added Days offset to DayDisplay to allow for AM to show the correct day.
* made the HoursDisplay more responsive to time changes
* Added a SyncToGameTime Trigger Function
To use SyncToGameTime, I recommend getting the Clock time close to the Game world time first which you can either use /time query gametime or use my other Trigger Functions /trigger ShowWorldClocks/HideWorldClocks to get the Game World Ticks, then do /time set <whatever the game world ticks value or some thing smaller but close to it>, then use /trigger SyncClocktoGameTime to do the sync,
It works by basicly adding an extra tick to the Current Clock Time with some math until it equals the Game World Time. Currently it can only sync if the Current Clock Time is Less then the Game World Time but, I've built a framework in the datapack to add a subtraction feature to be able to sync it with any value in future updates, and also make maybe the first time subtraction function in the game without mods. Note that sleeping will increase your Clock time as you would expect but the Game World Time is a Constant unchanging tick so if you sync up to the Game World time and then sleep, your Clock Time will be ahead of the Game World Time. TBH I'm not sure of what use this function has but I think its pretty cool.
The Key Feature of this Clock Data pack is that it does not and will never use an internal clock that is not in some way connected to the dayclock and gameclock, so thus the clock with always reflect those values and or changes made to them, like /time set/add.
Also Because I Updated the Download link with V2 I still wanted to host v1 incase people like it better for some reason, so here's a Google Drive link to the old version: (Date, Time And Lunar) Clock v1
Enjoy!
* Added Days offset to DayDisplay to allow for AM to show the correct day.
* made the HoursDisplay more responsive to time changes
* Added a SyncToGameTime Trigger Function
To use SyncToGameTime, I recommend getting the Clock time close to the Game world time first which you can either use /time query gametime or use my other Trigger Functions /trigger ShowWorldClocks/HideWorldClocks to get the Game World Ticks, then do /time set <whatever the game world ticks value or some thing smaller but close to it>, then use /trigger SyncClocktoGameTime to do the sync,
It works by basicly adding an extra tick to the Current Clock Time with some math until it equals the Game World Time. Currently it can only sync if the Current Clock Time is Less then the Game World Time but, I've built a framework in the datapack to add a subtraction feature to be able to sync it with any value in future updates, and also make maybe the first time subtraction function in the game without mods. Note that sleeping will increase your Clock time as you would expect but the Game World Time is a Constant unchanging tick so if you sync up to the Game World time and then sleep, your Clock Time will be ahead of the Game World Time. TBH I'm not sure of what use this function has but I think its pretty cool.
The Key Feature of this Clock Data pack is that it does not and will never use an internal clock that is not in some way connected to the dayclock and gameclock, so thus the clock with always reflect those values and or changes made to them, like /time set/add.
Also Because I Updated the Download link with V2 I still wanted to host v1 incase people like it better for some reason, so here's a Google Drive link to the old version: (Date, Time And Lunar) Clock v1
Enjoy!
tools/tracking
5818495
119
date-time-and-lunar-clock
Create an account or sign in to comment.