Jump to content

Recommended Posts

Posted

Hi there.

Im trying to generate a loot pool json using GlobalLootModifiers on 1.21.4 using IntelliJ, but whenever I try to run the "runData" task, an exception gets thrown... and none of the lines of code in the stacktrace are from my code.

And just before the stacktrace appears, there's also this 3 lines on the console that probably are the issue:

[main/FATAL] [ne.mi.fm.ModLoader/LOADING]: File C:\mc_mods\tmp\mine-spawners-forge\build\resources\main constructed 0 mods: [], but had 1 mods specified: [mine_spawners_forge]
[main/FATAL] [ne.mi.fm.ModLoader/LOADING]: The following classes are missing, but are reported in the mods.toml: [mine_spawners_forge]
[main/FATAL] [ne.mi.fm.ModLoader/LOADING]: The following mods are missing, but have classes in the jar: []

I don't know why that happens, the main mod class is annotated with @Mod, and this only happens on the "runData" task, I can build the mod with no issue.

I tried commenting out all my loot classes and everything so it wouldn't generate anything if it worked, but still same exception thrown, so I doubt it is from my code?

Version 1.21.4, using official mappings (as it comes by default), forge version 54.0.21 (I think it's the latest).

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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