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.

Featured Replies

Posted

I'm trying to setup a local Forge workspace to work on an issue I found recently (https://github.com/MinecraftForge/MinecraftForge/issues/9426)
So I've forked the Forge repo, followed all the steps described in the documentation (https://docs.minecraftforge.net/en/latest/forgedev/) and run the forge_client task. However when I do this I get this error
 

Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:32)
    ...
Caused by: java.lang.ClassNotFoundException: net.minecraftforge.logging.CrashReportExtender

Am I missing some step? If I run the "clean_client" task it opens up the client just fine (but can't debug forge since it appears to not be loaded).

I've also noticed that there are some small test mods inside the test folder, which would be perfect to run and debug for my use case, but I can't find any documentation about how to debug these mods, so how can I do this?

Don't blame me if i always ask for your help. I just want to learn to be better :)

2 hours ago, JimiIT92 said:

Am I missing some step? If I run the "clean_client" task it opens up the client just fine (but can't debug forge since it appears to not be loaded).

It may just be a bad setup, so I would invalidate cache, reload the gradle project, then run setup and generate the runs again.

2 hours ago, JimiIT92 said:

I've also noticed that there are some small test mods inside the test folder, which would be perfect to run and debug for my use case, but I can't find any documentation about how to debug these mods, so how can I do this?

When choosing your runs, use 'forge forge test client/server/data' instead of 'forge forge' or 'forge clean'

  • Author

I did these steps:

From IntellJ > File > Invalidate caches. Checked all checkboxes and restart the IDE

After I opened up the Forge project and let the indexing going on. When the indexing stops I ran the setup task and then the genIntellijRuns task.

Finally I ran the forge_test_client task, but still got the issue :/ Don't really know what could it be, I even tried deleting the whole .gradle folder from my pc, just in case something was left from the invalidate cache process, but still no luck

Don't blame me if i always ask for your help. I just want to learn to be better :)

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.