My mod dont compile properly

Started by worox on

Topic category: Troubleshooting, bugs, and solutions

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My mod dont compile properly

I imported a workspace from March 2024 on the latest version of mcreator and when I compile my mod and test it on the minecraft launcher it crashes. When I try the mod with the mcreator minecraft everything works perfectly but when I try with the minecraft launcher everything crashes, the problem seems to be related to the projectile entities to the particles in my mod. 

The crashlog says :
java.lang.NullPointerException: Registry Object not present: better_weaponry:bat_particle . 
And when I removed the particle, this is what I got :
java.lang.NullPointerException: Registry Object not present: better_weaponry:wooden_shuriken_entity

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Before that the mod compiled…
Sat, 12/28/2024 - 23:34

Before that the mod compiled without any problems and when I compile it with neoforge 1.21.1 everything works properly. The original workspace was in 1.20.1 Forge