Hello community,
I recently started updating my mod from 1.2.5 (Where everyting was running fine) to 1.3.2. I managed to remove nearly all errors, but a few are left, most of them releated to entities:
I have a block, which has to drop an item onDestroyedbyPlayer.
Current Code:
The new Item is working. If I change the Item to a feather or something like that, it works.
If I destroy the block, the game crashes with a NullPointerException:
And something strange:
I can´t use EntityRegistry.registerModEntity. The game crashes when spawning the mob (or another entity):
registerGlobalEntityID alone works fine. Really strange...
I hope you can help me or something like that^^
btw: I am using the latest forge build.