Started by
Shiori
on
Topic category: User side tutorials
Procedure file in Google Drive
This procedure take NBT (previously recorded) from block and give time difference in seconds:
If block have NBT:
Year: 2022
Month: 0 (in MCreator, month numbering starts from 0)
Day: 2
Hour: 2
Minute: 2
Second: 2
Use this procedure on this block in 2022-0-3-3-3-3 time return:
90061 seconds (86400 + 3600 + 60 + 1).
Maximum return number - 2678400 (31 days).
You can do more, but add it yourself.
Procedure has checks for February, the parity of months and the transition from one year to another.
Image