Skip to content

Update Cleanroom support#164

Closed
kappa-maintainer wants to merge 13 commits intounimined:lts/1.4from
kappa-maintainer:lts/1.4
Closed

Update Cleanroom support#164
kappa-maintainer wants to merge 13 commits intounimined:lts/1.4from
kappa-maintainer:lts/1.4

Conversation

@kappa-maintainer
Copy link
Contributor

  • Update Gradle since Cleanroom is already using 9.1.0
  • Filter org.apache.httpcomponentsfor http client 5 migration
  • Removed most of the transforms from super classes
  • Feed mod paths to a property
  • Further works will be done in the template and Cleanroom

srgToMCPAsTSRG.absolutePathString()
}
config.systemProperties["fml.dev.extrapath"] =
provider.mods.getClasspath().joinToString(File.pathSeparator) { it.absolutePath }
Copy link
Collaborator

@wagyourtail wagyourtail Oct 1, 2025

Choose a reason for hiding this comment

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

should set this property using jvmargs as that allows lazy. like
image
because what you have resolves mods too early...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Noted

@kappa-maintainer
Copy link
Contributor Author

Btw here are changes to loader
https://github.com/CleanroomMC/Cleanroom/compare/feat/dev-env

@kappa-maintainer
Copy link
Contributor Author

Not sure if writing like this will make it lazy
Will this string be eval again before actual used?

@kappa-maintainer
Copy link
Contributor Author

Just found there's another getSource() in net.minecraftforge.common.crafting.CraftingHelper#findFiles(), this breaks all json recipes of developing mod

@kappa-maintainer kappa-maintainer marked this pull request as draft October 25, 2025 03:14
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

Successfully merging this pull request may close these issues.

2 participants