Closed legoraft closed 4 months ago
What loom version are you using? 1.4 is required for Mixin Extras.
I think that that's the issue, I was using 1.2
It still isn't working even though loom is updated to 1.4-SNAPSHOT
are you on loader 0.15+?
yeah in my gradle.properties I've copied the 1.20.4 versions from fabricmc and I've updated loom to 1.4. Loader is 0.15.2
did you reload the gradle project? ( IntelliJ: gradle tab, recycle circle. VSCode: shift+alt+u while in the build.gradle )
reload gradle then
reloaded gradle, deleted all gradle and idea files and reloaded entire project, updated jdk and I think that all my versions are correct
@legoraft try adding the following snippet to your build.gradle
configurations.all {
resolutionStrategy {
force("net.fabricmc:fabric-loader:$loader_version")
}
}
I think loom has an issue where it may choose to use loader installer json from a version of loader from one of your depedencies in certain edge cases.
that fixed it, prob an issue with spruceui or modmenu in that case
I'll move this issue to loom.
I've seen some dev env support issues for ModMenu with Loom 1.4 recently that could be mysteriously resolved like this:
modApi("com.terraformersmc:modmenu:${project.modmenu_version}") {
exclude(group: "net.fabricmc")
}
I believe I know what the issue is, fixing it isn't so easy though. I could likely put in a hack fix that will resolve it for 99% of cases.
couldn't it be that the loom version in mod menu is 1.1, so the mixin extras isn't working corrextly when you use it as a dependency? Just taking a guess here, still trying to figure out some gradle stuff
couldn't it be that the loom version in mod menu is 1.1, so the mixin extras isn't working corrextly when you use it as a dependency? Just taking a guess here, still trying to figure out some gradle stuff
No, at least I dont think so. What I believe is happening is as follows:
modApi
before modImplementation
, thus using the fabric-installer.json file from the latest version of fabric loader on the modApi
configuration.Ideally it should find the latest version of fabric-loader on all of the mod* configurations, however im not too sure how easy this is to do. Worse case I can just force it to check modImplementation
first as this is where I expect 99% of people define their loader version.
Worse case I can just force it to check
modImplementation
first as this is where I expect 99% of people define their loader version.
Makes sense. Probably 99.44%, no less.
This was vastly improved to a point where I havent seen anyone have any issue with it, there isnt a lot more I can do easily to fully fix it.
I've used mixin extras in my mod for a while, but with the new loader version I wanted to use the new integrated mixin extras. I want to use an
@WrapOperation
mixin, but my IDE can't find it and I don't know how to import it. Is there something I'm missing?