itzg / docker-minecraft-server

Docker image that provides a Minecraft Server that will automatically download selected version at startup
https://docker-minecraft-server.readthedocs.io/
Apache License 2.0
9.27k stars 1.53k forks source link

Infer type/version/loader from packwiz #1818

Open lhvy opened 1 year ago

lhvy commented 1 year ago

Enhancement Type

Improve an existing feature

Describe the enhancement

Currently using packwiz with Quilt for the latest release of Minecraft and the Quilt loader can cause problems because the container sees that the type is set to Quilt, and downloads whichever version of the loader it prefers, which in this case is actually 0.18.x beta, which is incompatible with mods in my packwiz pack. This could be fixed if the version, type and loader version env vars were simply replaced with values read directly from the packwiz pack.

itzg commented 1 year ago

I am gradually working towards this type of capability with CurseForge modpacks. So, this enhancement makes sense for packwiz also.

The unique challenge with the packwiz version is that it'll need to pre-download the definition and interpret just enough to get the versions.

itzg commented 1 year ago

As discussed in Discord this track nicely with TYPE=AUTO_CURSEFORGE where it would be TYPE=PACKWIZ

Pack format info

Example pack