RythenGlyth / BigMachines

Minecraft Mod for 1.12.2 and 1.16.5 aiming to add machines and more
5 stars 0 forks source link

Invalid registration attempt for an Ore Dictionary item #1

Closed scrouthtv closed 4 years ago

scrouthtv commented 4 years ago
[07:07:20] [Client thread/WARN] [FML]: ****************************************
[07:07:20] [Client thread/WARN] [FML]: * Invalid registration attempt for an Ore Dictionary item with name blockAluminium has occurred. The registration has been denied to prevent crashes. The mod responsible for the registration needs to correct this.
[07:07:20] [Client thread/WARN] [FML]: *  at net.minecraftforge.oredict.OreDictionary.registerOreImpl(OreDictionary.java:665)
[07:07:20] [Client thread/WARN] [FML]: *  at net.minecraftforge.oredict.OreDictionary.registerOre(OreDictionary.java:651)
[07:07:20] [Client thread/WARN] [FML]: *  at net.minecraftforge.oredict.OreDictionary.registerOre(OreDictionary.java:650)
[07:07:20] [Client thread/WARN] [FML]: *  at de.bigmachines.blocks.BlockBaseOreDict.postRegister(BlockBaseOreDict.java:19)
[07:07:20] [Client thread/WARN] [FML]: *  at de.bigmachines.init.ModBlocks.lambda$1(ModBlocks.java:40)
[07:07:20] [Client thread/WARN] [FML]: *  at java.util.ArrayList.forEach(ArrayList.java:1257)...
[07:07:20] [Client thread/WARN] [FML]: ****************************************
scrouthtv commented 4 years ago

image Works for now even tho there is a warning: image

scrouthtv commented 4 years ago

143f9d4 closing

scrouthtv commented 4 years ago

Blocks don't work

scrouthtv commented 4 years ago

9953000 Blocks are first registered, items afterwards. We try to register the OreDict on the block before its item is registered.