Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cucumber does not load during mod development with Forge Mdk #675

Closed
zaciam opened this issue Feb 19, 2024 · 2 comments
Closed

Cucumber does not load during mod development with Forge Mdk #675

zaciam opened this issue Feb 19, 2024 · 2 comments
Labels

Comments

@zaciam
Copy link

zaciam commented Feb 19, 2024

Describe the bug
I want to develop a new Minecraft mod that depends on the Cucumber mod. However, when I add the mods to my dependencies, Minecraft crashes.

To Reproduce
Steps to reproduce the behavior:

  1. Download and extract Forge Mdk.
  2. Add https://maven.blakesmods.com as a Maven repository.
  3. Add the dependencies:
    implementation fg.deobf("com.blakebr0.cucumber:Cucumber:${minecraft_version}-7.0.6")
    implementation fg.deobf("com.blakebr0.mysticalagriculture:MysticalAgriculture:${minecraft_version}-7.0.7")
    
  4. Run the Minecraft client by executing the runClient Gradle command.

Expected behavior
The game should start without errors.

Screenshots / Scripts / Logs
image
crash-2024-02-19_18.31.01-fml.txt

Versions (please complete the following information):

  • Minecraft: 1.20.1
  • Forge: 47.2.0
  • Cucumber: 7.0.6
  • Mystical Agriculture: 7.0.7
  • Singleplayer or Multiplayer: Singleplayer
@zaciam zaciam added the Bug label Feb 19, 2024
@BlakeBr0
Copy link
Owner

You have to add the following to your gradle plugins block if you want to use runClient from the command line:

    id 'org.spongepowered.mixin' version '0.7.+'

The recommended approach is to use the IDE run configs which can be generated with ex. genIntellijRuns which work without needing that plugin installed. Though the Mixin plugin may still be needed when depending on Cucumber as a local project.

@zaciam
Copy link
Author

zaciam commented Mar 16, 2024

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants