v3.2.0
CmlLib.Core.3.2.0.zip
CmlLib.Core.dll for .NET 5.0 / .NET Framework 4.6.2 / .NET Core 3.1
or use Nuget package 'CmlLib.Core'
SampleCoreLauncher.zip
Simple console sample launcher using .NET Core. unzip file and run CmlLibCoreSample.exe
SampleWinformLauncher.zip
GUI sample launcher using .NET Framework. unzip file and run CmlLibWinFormSample.exe
Major changes:
Improve performance (much faster)
- Add async apis (you don't need Thread anymore)
- Use AsyncParallelDownloader as default downloader
Add IFileChecker, IDownloader
- Seperate file checking / downloading
- Add IFileChecker (AssetChecker, ClientChecker, LibraryChecker)
- Add FileCheckerCollection
- Add IDownloader (SequenceDownloader, AsyncParallelDownloader)
Customizable MinecraftPath
- Now MinecraftPath does not create directories when it initialized.
- Allow inheritance
Add new version system
- Move namespace: CmlLib.Core.Files -> CmlLib.Core.Version, CmlLib.Core.VersionLoader
- Add IVersionLoader (DefaultVersionLoader, LocalVersionLoader, MojangVersionLoader)
- Update MVersionCollection
Minor changes:
- Enable nullable
- Update Changelogs: 80+ versions available
- Update GameOptionsFile
- Fire ChangeProgress event in AsyncParallelDownloader
- Obsolete ParallelDownloader (use AsyncParallelDownloader)
- Obsolete CmlLib.Core.Mojang.MojangAPI (use MojangAPI library)
- Set WebRequest timeout to 20 seconds