Create

Create

86M Downloads

Crashes(Mixin error) running the client after adding Create to dependence

tocmic opened this issue ยท 2 comments

commented

Describe the Bug

Mixing apply fails when I try to make my own mod optionally depend on Create

Reproduction Steps

1.Build a new eclipse run using gradle
2.Adding create to dependence according to the wiki
3.refresh gradle task
4.Run the client

Expected Result

Mixing apply fails and game crashes.

Screenshots and Videos

No response

Crash Report or Log

https://pastebin.com/pWa9eNq7

Operating System

windows10

Mod Version

0.5.0i

Minecraft Version

1.19.2

Forge Version

43.2.6

Other Mods

default forge example mod

Additional Context

No response

commented

The issue is that you're injecting using the wrong refmap. Minecraft symbols are obfuscated, but those of mods rarely are, in why case you should add refmap = false to the @Inject annotation. Are you trying to inject into Create code or into Minecraft code?

commented

They are not injecting anything (yet), from my understanding. It is likely that their issue is that Create uses Parchment mappings, while the default for Forge mods is Official mappings.

@tocmic Try changing your mappings in build.gradle to:
mappings channel: 'parchment', version: "${parchment_version}-${create_minecraft_version}"

They likely currently look like:
mappings channel: 'official', version: '1.19.2'

You will also need to add
parchment_version = 2022.11.06
To your gradle.properties, and install the Parchment "Librarian" plugin.

https://parchmentmc.org/docs/getting-started has the remainder of the documentation on including parchment into gradle runs.