Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

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.

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.

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.

  • Author

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.

  • Author

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.