Changelog
IMPORTANT NOTICE
Despite being declared as Lantern Load compatible, that had not been the case in older releases. From now on, you can use the Lantern Load conventions to check whether TimeLib is installed and what version. Details in the changelog below.
Additions:
- Added Lantern Load compatibility
- If you follow the conventions, you can check whether TimeLib is installed (
#TimeLib load.statusis 1) and what version (Check#TimeLib.Version load.status) - You can also specifically check if multiple incompatible versions of TimeLib are installed at the same time (
#TimeLib.VersionError load.statusis 1) - The
#TimeLib.Version load.statusversion is now 1
- If you follow the conventions, you can check whether TimeLib is installed (
- TimeLib now stops functioning and throws errors if multiple incompatible versions are installed simultaneously
- This extends to the utility functions, which will fail
- TimeLib now stops functioning and throws errors upon executing utility functions if it has been uninstalled by running the
timelib:uninstallfunction
(!) The version compatibility checks are not compatible with releases 2.2.0 and earlier.
(!) To counteract potential problems with datapacks trying to access TimeLib while it's uninstalled (before upgrading to a newer release), future releases of TimeLib will provide an "upgrade" feature that automatically detects what version was installed prior. Because this depends on the newly implemented version feature, it will only work with releases 2.3.0 and newer.
Files
TimeLib.zip(37.52 KiB) Primary Download
Links
Details
Licensed MIT
Published 2 years ago
Updated 3 months ago

