Suspicious stew bug

Started by Emeraldnickel on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 02:42, 21. Mar 2024
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Suspicious stew bug
Mon, 05/30/2022 - 04:49 (edited)

I'm currently working on a mod based on dreams and nightmares. When I try to build my project it works, but it doesn't work when I test it. There are three groups of errors in the console when I try to run it and they're all similar to "java.lang.NullPointerException: Registry Object not present: dreams_and_nightmares:dreaming" (dreaming is a status effect in my mod). This error only seems to occur with that status effect and a flower I added (called a "dreamblossom"). How do I fix these errors?

First part of the error in console: 

-- MOD dreams_and_nightmares --

Details:

Mod File: main

Failure message: Dreams and Nightmares (dreams_and_nightmares) encountered an error during the common_setup event phase

  java.lang.NullPointerException: Registry Object not present: dreams_and_nightmares:dreaming

Mod Version: 1.0.0

Mod Issue URL: NOT PROVIDED

Exception message: java.lang.NullPointerException: Registry Object not present: dreams_and_nightmares:dreaming

EDIT: the bug is caused by applying a mod's effect to the suspicious stew of a modded flower. The only way I can seem to fix the error is by changing the effect to a non-modded one.

Edited by Emeraldnickel on Mon, 05/30/2022 - 04:49
Last seen on 02:42, 21. Mar 2024
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Looks like a problem with…
Mon, 05/30/2022 - 04:46

Looks like a problem with the Suspicious Stew. Apparently assigning a modded effect to a suspicious stew breaks MCreator mods. Regardless, I can change the effect, so this is solved enough for me, but I'll leave this here since this is definitely a bug.