Jump to content

Recommended Posts

Posted

This message:

[11:09:40] [server thread/WARN] [FML]: Unable to lookup ForestMagic:goldenBerylOre for public static com.shieldbug1.forestmagic.block.ore.BlockOreFM com.shieldbug1.forestmagic.init.ModBlocks.goldenBerylOre. Is there something wrong with the registry?
[11:09:40] [server thread/WARN] [FML]: Unable to lookup ForestMagic:magicLeaves for public static com.shieldbug1.forestmagic.block.BlockFM com.shieldbug1.forestmagic.init.ModBlocks.magicLeaves. Is there something wrong with the registry?
[11:09:40] [server thread/WARN] [FML]: Unable to lookup ForestMagic:goldenBerylGem for public static com.shieldbug1.forestmagic.item.gem.ItemGemFM com.shieldbug1.forestmagic.init.ModItems.goldenBerylGem. Is there something wrong with the registry?

appears every time in the preinitialisation stage. When the game is run, the message comes from the Client thread, and when a world is loaded it's from the Server thread. It also appears when a world is being unloaded on the server thread.

 

The blocks and items it mentions work fine, and I didn't register them any differently to any of my other blocks or items.

 

Here is the relevant code:

public static final ItemGemFM goldenBerylGem = new ItemGoldenBerylGem();

// And later, in my method for registering the blocks and items
GameRegistry.registerItem(goldenBerylGem, Names.Items.Gems.GOLDEN_BERYL_GEM);

 

Am I doing something horribly wrong and not seeing it, or should I just ignore the message?

 

 

EDIT: If it matters I'm using forge version 10.13.0.1180 (1.7.10). (I've just been too lazy to update, but I don't think the version has anything to do with this.)

EDIT: I have updated to the latest version of forge (1199) and the message still occurs.

BEFORE ASKING FOR HELP READ THE EAQ!

 

I'll help if I can. Apologies if I do something obviously stupid. :D

 

If you don't know basic Java yet, go and follow these tutorials.

Posted

I surprisingly just got the same message in my console. I found that the cause was the fact that the variable name and the String name used in the registry were different. If those are both the same then it works fine.

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.