SpongePowered / Ore

Repository software for Sponge plugins and Forge mods
https://ore.spongepowered.org/
MIT License
78 stars 25 forks source link

Data defined loaders and platforms #1025

Closed Katrix closed 3 years ago

Katrix commented 3 years ago

Moves the formats ore supports, and the platforms it knows about out of the application, and into the config. To make stuff as error recovering as possible, we use non determinism through different alternatives of where to look for stuff.

I've tested this against one of each type of file currently (mcmod.info, mods.toml, plugins.json), but we should check it against many more to make sure the code doesn't do weird stuff.

I've also included a few other fixes and tweaks. Tried to fix the invalid classpath compilation error.

I've targeted this at the Vue branch currently, but not quite sure if I want it in M3 yet.