- Remade the
RepositoryInfoProvidermodule from scratch. It is now a "stable release" that can be used.- Features GitHub API integration, allowing you to fetch some info using GitHub's APIs. Things like fetching issues and comments however, are still yet to be implemented.
- Now featuring a
CachedResourceManager, a module/utility for fetching and caching of external resources.- Note: All cached resources are stored on the drive in
%USERPROFILE%\.cache\thecsdev\mc-tcdcommonson Windows, and~/.cache/thecsdev/mc-tcdcommonson Linux, and so on. Basically, it's in theuser.homedirectory. - Cached resources all have an "expiration date".
- If you need to free up some space on your drive, feel free to delete the cache directory. Keep in mind that this will result in mods having to "re-fetch" the data off the internet and any other places, so avoid doing this during times without internet access.
- Note: All cached resources are stored on the drive in
- Loading of external images/textures is still somewhat experimental. The game appears to load PNGs just fine, but the same cannot be said for actually rendering them. I will try to further investigate this in the future.
- Added a config variable called
enableHttpUtilsof typeboolean. By default, it is set totrue, aka enabled.- You can disable this in the config to "shut off" HTTP internet access from my mods and any mods using this
HttpUtilsAPI utility. - Very important note: While this will prevent my mods from accessing the internet over the HTTP protocol, please keep in mind that other mods may still use other means of accessing the internet. Additionally, I have another mod project in the works that will depend on internet access (as it will use GitHub APIs), so disabling this will prevent that future mod from working.
- You can disable this in the config to "shut off" HTTP internet access from my mods and any mods using this