Infinidoge / nix-minecraft

An attempt to better support Minecraft-related content for the Nix ecosystem
MIT License
246 stars 26 forks source link

legacy fabric support #17

Closed shaunsingh closed 1 year ago

shaunsingh commented 1 year ago

Hello, there is an effort to bring fabric to older versions of the game (1.8.9, etc.) https://github.com/Legacy-Fabric/

Is it possible to add support for this into nix-minecraft? Several mods on modrinth (e.g. axolotl-client) use it

Infinidoge commented 1 year ago

Would you happen to know if the Legacy Fabric project has an API end point? As it stands currently, the packaging for both Fabric and Quilt rely on the respective projects APIs to determine the libraries needed to make the server.

Infinidoge commented 1 year ago

Nevermind, found the URL, packaging it is actually surprisingly trivial. Let me know if the packages in #19 work for you!

shaunsingh commented 1 year ago

Sorry for not getting back to you earlier

Works perfectly for me! thanks

shaunsingh commented 1 year ago

Offtopic but

This project is awesome for declarative servers, is it possible to configure local non-server minecraft instances as well?

Infinidoge commented 1 year ago

Not currently. Setting up clients is possible, but in the end, while declarative management is very nice for servers, for clients it tends to get in the way more frequently than it is actually helpful. (For example, declarative mod configuration would mean that all in-game settings menus are useless, and you have to edit everything manually outside of the game, then apply all at once.)

Something mostly ideal would be managing mods and less variable things like that with Nix, while letting the client do its thing with configuration files, but I don't think someone has made something for that yet.

Personally, I recommend using Prism Launcher.

shaunsingh commented 1 year ago

Thanks!