Closed TekuSP closed 6 years ago
Just dropping by to let you know this is still an issue with the latest version
[16:57:59] [main/WARN] [FML]: * Invalid registration attempt for an Ore Dictionary item with name oreResonating has occurred. The registration has been denied to prevent crashes. The mod responsible for the registration needs to correct this.
[16:57:59] [main/WARN] [FML]: * at net.minecraftforge.oredict.OreDictionary.registerOreImpl(OreDictionary.java:642)
[16:57:59] [main/WARN] [FML]: * at net.minecraftforge.oredict.OreDictionary.registerOre(OreDictionary.java:628)
[16:57:59] [main/WARN] [FML]: * at net.minecraftforge.oredict.OreDictionary.registerOre(OreDictionary.java:627)
[16:57:59] [main/WARN] [FML]: * at mcjty.deepresonance.ForgeEventHandlers.registerBlocks(ForgeEventHandlers.java:37)
[16:57:59] [main/WARN] [FML]: * at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_872_ForgeEventHandlers_registerBlocks_Register.invoke(.dynamic)
[16:57:59] [main/WARN] [FML]: * at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)...
Hmm I actually don't know what's wrong here. This is my code:
OreDictionary.registerOre("oreResonating", ModBlocks.resonatingOreBlock);
nm. Fixed it for next release
I don't know enough Java to be of assistance. But you've done some amazing work. I don't know if this breaks anything in game as your mods are the only ones I k ow of that use resonating ore, but I'll dig around and see if I can help figure it out.
The item needs to be created and registered before adding to the dictionary.
Hey guys. I fixed it already :-)
No crash, I suppose its this mod fault because of call stack.
Deep Resonance 1.12-1.4.9 MjctLib 1.12-2.4.4