Skip to content

Conversation

@SpaceWalkerRS
Copy link
Member

-Dfabric.fixPackageAccess is only required for gen2, since that intermediary enforces the target package which trips some versions up

-Dfabric.gameVersion is relevant for gen1 too, in order to make Infdev versions use the correct version

@SpaceWalkerRS SpaceWalkerRS added the enhancement New feature or request label Sep 8, 2025
if (generation >= 2) {
jvmArgs.add("-Dfabric.fixPackageAccess");
}
jvmArgs.add("-Dfabric.gameVersion");
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This argument needs to be -Dloader.gameVersion when running on Quilt, otherwise it will have no effect.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for pointing that out! is the same not true for the other arg?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure an equivalent exists there, which is why I did not mention it:
https://github.com/QuiltMC/quilt-loader/blob/develop/src/main/java/org/quiltmc/loader/impl/util/SystemProperties.java

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh? I guess not all features carry over then...

@SpaceWalkerRS
Copy link
Member Author

gonna wait until QuiltMC/quilt-loader/pull/479 is merged and then update this PR appropriately

@SpaceWalkerRS SpaceWalkerRS marked this pull request as draft October 14, 2025 14:50
@SpaceWalkerRS SpaceWalkerRS moved this to In Progress in gen2 Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants