Skip to content

Multiversion Merging for Fabric & (Neo)Forge #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Ran-Mewo opened this issue May 1, 2025 · 3 comments
Open

Multiversion Merging for Fabric & (Neo)Forge #37

Ran-Mewo opened this issue May 1, 2025 · 3 comments
Assignees
Milestone

Comments

@Ran-Mewo
Copy link
Member

Ran-Mewo commented May 1, 2025

This is doable. 😎

@Ran-Mewo Ran-Mewo added the enhancement New feature or request label May 1, 2025
@Ran-Mewo Ran-Mewo added this to the 2.0.0 milestone May 1, 2025
@Ran-Mewo Ran-Mewo self-assigned this May 1, 2025
@Ran-Mewo Ran-Mewo removed the enhancement New feature or request label May 1, 2025
@jpam-queijo
Copy link

Just a question about multiversion, if an old version uses a different way to code asset files (*.json, *nbt...) how can I make these asset files version specific?

@Ran-Mewo
Copy link
Member Author

Ran-Mewo commented May 11, 2025

@jpam-queijo Forgix will load the version specific jar of your mod based on the current game version
So if an old version of your mod used different assets, only that asset and it's code would be loaded
Forgix will also make sure that duplicate classes and assets don't exist

You can actually already test out multiversion in version 2.0.0-SNAPSHOT.2 (atm it's required that your mod is a forge mod or a forge & fabric merged mod, I'll remove this limitation in the next snapshot)

forgix {
    multiversion {
        inputJars = files("version1.jar", "version2.jar")
    }
}

@jpam-queijo
Copy link

Thanks you, I really appreciate your project and the work you've put into it. I'm going to test it later with one of my mods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants