Jump to content

Having problems using 'runServer' configuration with dependency on mod with mixins


Recommended Posts

Posted

I am developing a mod with dependencies on other mods, which in turn use mixins.

I have created the mod in IntelliJ, I can compile and am able to create a custom modpack in CurseForge with only this mod and its dependencies and it runs correctly.

However, when I copy the dependent jars into the run\mods sub-folder and try to run e.g. 'gradlew runServer', I get an error.

Here is the source: https://github.com/lynnpye/waymaker/tree/1.18

Here is a gist with my build.gradle specifically: https://gist.github.com/lynnpye/971f4dfa125537d9bfd18af8f987ef1d

Here is a gist with the output from 'gradlew runServer' in IntelliJ: https://gist.github.com/lynnpye/b7e5eb6c0cddcea3b8bdce7bef7cbe0f

I'm sure this is a simple issue; I would appreciate any help.

Posted

You don't put mods in the mod folder in development unless you know they are already deobfuscated and use your choice of deobfuscation mapping.

You do it here: https://github.com/lynnpye/waymaker/blob/7a8cd7885ec6ca37d39ee6be84ef8c156f7e479d/build.gradle#L146

either as runtime or implementation dependency.

  • Thanks 1

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Posted

Well, I removed the jars from run\mods, and performed the following:

> gradlew clean

> gradlew --refresh-dependencies

> gradlew build

> gradlew runServer

And received the same error message as before.

Posted

I found the issue:

this line:

property 'mixin.env.remapRefMap', 'true'

should have been this:

property "mixin.env.disableRefMap", "true"

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.