klikli-dev / theurgy

An open-source magic mod built around classical alchemy to replicate and transmutate matter, and create magical artifacts.
https://www.curseforge.com/minecraft/mc-mods/theurgy
13 stars 10 forks source link

Datagen .cache directory shipped in the jar #212

Closed quat1024 closed 3 months ago

quat1024 commented 3 months ago

Was looking for a random neoforge curseforge mod to decompile*, picked this one, and I noticed theurgy-1.21-neoforge-1.38.2.jar contains the .cache folder from mojang's datagen system. It can be safely removed with a jar { exclude ".cache" } in the buildscript, should shave about 51kb off the size of the mod.

*Just wanted to check if neoforge removed SRG names. they did. interesting

klikli-dev commented 3 months ago

oh good find! Thank you so much