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 am using Forge 25.0.44. I only have one @Mod annotation, but whenever I run or debug from within Eclipse, I get this error:

 

[19:18:35.605] [pool-2-thread-1/DEBUG] [ne.mi.fm.lo.mo.Scanner/SCAN]: Scanning C:\Users\danie\Documents\GitHub\modid\bin\main with language loader javafml
[19:18:35.605] [pool-2-thread-1/DEBUG] [ne.mi.fm.ja.FMLJavaModLanguageProvider/SCAN]: Found @Mod class thefloydman.modid.ModId with id modid
[19:18:35.605] [pool-2-thread-1/DEBUG] [ne.mi.fm.ja.FMLJavaModLanguageProvider/SCAN]: Found @Mod class thefloydman.modid.ModId with id modid
[19:18:35.606] [pool-2-thread-1/ERROR] [ne.mi.fm.lo.mo.BackgroundScanHandler/SCAN]: An error occurred scanning file Mod File: C:\Users\danie\Documents\GitHub\modid\bin\main
java.util.concurrent.CompletionException: java.lang.IllegalStateException: Duplicate key net.minecraftforge.fml.javafmlmod.FMLJavaModLanguageProvider$FMLModTarget@5c11fbc6

 

This causes Minecraft to crash the moment it loads. A few other folks on Discord have said they have the same issue. One said it just stopped happening. The other said they switched to IntelliJ. The error does not occur when using runClient from the command prompt. I have tried a clean install (and copying over the source files).

Edited by Floydman

  • Author

I just found the fix: For whatever reason, in runClient.launch and runServer.launch the mapEntry MOD_CLASSES includes the main class multiple times. Removing all but the first two resolves the issue.

Edited by Floydman

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.