Compressed RecipeAtlas Compatibility
bigbass1997 opened this issue · comments
Change the recipe loading logic to accept JSON files that have been compressed. This doesn't have to work with all types of compression; rather it only needs to be the same type as what RecEx uses to compress the JSON in the first place.
The atlas loading process should still support normal JSON files too. If the decompression process takes longer than 1 second, then perhaps this should actually be apart of the download process instead. So that when the compressed atlas is downloaded, it's decompressed and saved that way.
Planning to use the zeroturnaround/zt-zip library (maven) to assist with the (de)compression.
Implemented in 6bd9baa.