hugeblank / allium

Lua script loader and API for easy Minecraft modding
MIT License
41 stars 8 forks source link

Forge port wen? #6

Open hugeblank opened 2 years ago

hugeblank commented 2 years ago

Get it? I'm pretending to be an average user

hugeblank commented 2 years ago

Quilt also releases their loader on April 20th allegedly. Eyes out for that.

hugeblank commented 2 years ago

Making this happen is a lot less fun than I expected, so allow me to specify. I'd want a setup where when I build the jar for the mod, tiny mappings files from each platform we support that convert the intermediary for that platform (be it yarn intermediary, srg, hashed mojmap, etc.) to yarn named, and are placed somewhere sensible in the classpath. On runtime in a production environment we detect what platform they're using, and load the map using the respective tiny mapping file.

Tools already exist for this! See wagyourtail's mc mappings viewer. This is a manual option though, and I'd really like it if the mappings were generated on a per-build basis. If someone has a solution or wants to make a PR for this I will forever be in your debt.