architectury-api icon indicating copy to clipboard operation
architectury-api copied to clipboard

java.lang.IllegalStateException: Mod 'architectury' is not available!

Open KellTayLieLor opened this issue 5 months ago • 6 comments

I keep getting this error whenever I try to build a modpack. I am using Cursforge with Neoforge as my launcher. I am on 1.21.1. I first got the error on an already established modpack after a few mods were updated. This honestly happens fairly often and it is so frustrating. I literally cannot play modded minecraft without this mod because it is a dependency for so many others. I've been looking through the logs, debug, and crash reports to try and find out which mod is the main culprit here but I am struggling. I am not a programmer and I don't know how to code so if anyone can help me out I would REALLY appreciate it! Thanks! Also...yeah, I know I have a lot of mods in this particular pack. I've been testing it out in small, medium, large, and extra large packs but keep getting the same error. It seems to do fine in teeny tiny packs but if I add more than a few mods the error starts popping up.

crash-2025-09-28_21.11.19-client.txt

latest.log

debug.log

KellTayLieLor avatar Sep 29 '25 01:09 KellTayLieLor

Also having this issue- here is one of my logs. weirdly it was fine until I updated relics and octolib, not sure if they may be problem mods?

https://gnomebot.dev/paste/mclogs/c2vvK41

Cittycool avatar Oct 02 '25 12:10 Cittycool

Same issue here, updated NeoForge and the mods in ATM 10 and crashes on startup since.

-log : https://gnomebot.dev/paste/mclogs/HtBwHww -crash report : https://gnomebot.dev/paste/mclogs/66ubahw

VYL0Z avatar Oct 02 '25 22:10 VYL0Z

@VYL0Z artifacts is only compatible with the stable version of Relics: 0.10.7.6. It's a bad idea to update all mods in a premade modpack. Premade modpacks are great because they're tested.

@Cittycool You need to share your latest.log. That's where the real errors are. Crash Assistant would've gathered everything for you.

Poopooracoocoo avatar Oct 03 '25 13:10 Poopooracoocoo

@VYL0Z artifacts is only compatible with the stable version of Relics: 0.10.7.6. It's a bad idea to update all mods in a premade modpack. Premade modpacks are great because they're tested.

@Cittycool You need to share your latest.log. That's where the real errors are. Crash Assistant would've gathered everything for you.

Hello, after trying to make a clean reinstall of the modpack as well as removing Relics, and artifacts (removed the config as well and without updating other mods), the crash persists.

Here's the log :

  • https://gnomebot.dev/paste/mclogs/6zBnIZt

And Here's the crash report :

  • https://gnomebot.dev/paste/mclogs/FR61LFV

My guess is that it must be an incompatibility I just don't know which one.

VYL0Z avatar Oct 03 '25 16:10 VYL0Z

@VYL0Z you're continuing to modify ATM10... The modpack comes with Neo 21.1.209. You have seemingly changed it to 21.1.185. You have also added a mod: JEI Integration: Reborn which is crashing you, likely because you changed the Neo version.

Poopooracoocoo avatar Oct 04 '25 00:10 Poopooracoocoo

So, I discovered, after hours and hours of messing around, that mo' structures (more specifically omegaconfig embedded in the code) was causing the crash. I had to remove all of the mods associated with omegaconfig from my pack and then I had to remove a few more unrelated mods because of new crashes. Eventually, I was able to get the game up and running. I reported the issue the mo' structures creator so hopefully they can take a look at everything. Modded minecraft is super fun to play but jeez! There is always some kind of problem lol.

KellTayLieLor avatar Oct 09 '25 01:10 KellTayLieLor