Jump to content

Error loading minecraft in stage 2 (Mod Initiation Phase)


Masier

Recommended Posts

I began to notice problems today regarding my mods in forge. Whenever I try to load the game, during the end of phase 2, I get errors regarding BuildCraft. I deleted the mod and all files relating to it, and I then got errors in stage 3 with multiple lib mods, as well as Botania. I have tried reinstalling forge, re-installing the mods, and checking for updates, and nothing I have done has worked. I am using the latest version of 1.12.2 forge, being as follows: 

14.23.5.2847
 

All other information should be listed with the logs. 

 

I am guessing that my problem is not entirely a fault with the mods, asthe first line of the log shows as follows:

ava.lang.RuntimeException: Invalid id 4096 - maximum id range exceeded.
    at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:295)

referring to net.minecraftforge as the first line, I am implying something is going on with forge. I don't know for sure, though.

I am not the best with logs, but from what I can tell, this is not exclusively related to the mods. Everything worked fine yesterday, and today, many of my mods are not working. I haven't been able to run minecraft with mods, unless I remove every single mod from my files, stripping the mods file to the bare minimum.

 

I know my computer can handle running as many mods as I have, and I am pretty sure that none of my mods are conflicting with other mods. 

 

 

The pastebin page for the error is here: https://paste.dimdev.org/yoqodututo.mccrash

I am looking for a way to fix the situation without removing multiple mods, and if I must, then that is the what I will do. Any help is appreciated.

 

Here is the error screen I get regarding BuildCraft, leading me to assume there is some fault with them. I don't think this is exclusive, as I get the error with many other mods if I delete BuildCraft, which is why I am posting this thread here instead of a referral to a specific mod.

 

image.thumb.png.c8c1037519cc98f134f40f44d394fcf7.png

 

Thank you!

 

 

 

 

Link to comment
Share on other sites

1.12 is no longer supported on this forum.

Please update to a modern version of Minecraft to receive support.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Forge version: 49.0.3 Minecraft version: 1.20.4 Downloads: Downloads page Note that as this is the start of a new version, it is recommended that you check the downloads page and use the latest version to receive any bug fixes, as the first ever build of Forge for any MC version is usually buggy. Intro: The first build for Forge 1.20.4 has been released! It is based on 49.0.2 for 1.20.3, which reimplemented support for executable server jars and should improve compatibility with slow server hosts. The reason Forge uses the same major version as 1.20.3 is because the difference between 1.20.3 and 1.20.4 was a single line change by Mojang that fixed a data loss bug. All 1.20.3 mods should work in 1.20.4 and there is no reason to use 1.20.3 which came out a day or two earlier. If you find any issues, please let us know on the Discord. Sorry for the delay writing this post.
    • The command you need now in the run.bat is: java -jar -Djava.net.preferIPv6Addresses=system (forge jar filename).jar Yep, that's it. You don't need any of those super-long args anymore thanks to the simplified launch system in Forge 1.20.3+.
    • After more research I have found a program called jarfix. I used it and it fixed my issue. I'm not sure exactly what the issue was but this issue has been resolved.
    • Hello! I have recently purchased a new computer and cannot download Optifine or Forge. The issue I am having is that the Java program 'javaw.exe' does not seem to open .jar files for me. As far as I can tell, I cannot open .jar files at all. The trouble-shooting I have tried so far is that I have un-downloaded and re-downloaded Java and that has not fixed it. I have followed the pathway to 'open with->choose another app->choose an app on your pc->Program Files (x86)->Java->jre-1.8->bin. and from inside bin I have tried opening these programs with each and every java application in there assuming I may have been wrong about which one I need to use. Still no luck. From there I checked to make sure that Java was allowed through my firewall and have seen no instances of any application with Java in the name anywhere in the list of apps to let through fire wall. I'm unsure of what to try next, so I would absolutely love help figuring out why my computer is not letting me open .jar files. Specifically these ones that I know are meant to open as installers. Any ideas are appreciated. Thanks in advance!
  • Topics

×
×
  • Create New...

Important Information

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