Project Red - Exploration

Project Red - Exploration

29M Downloads

Can't process Project Red metallic ores with Mekanism

TheRdMelon opened this issue · 6 comments

commented

Mekanism's machines wont accept them

commented

ProjectRed should register its ores to the OreDictionary, if Mek isn't handling that properly then its not on our end. I believe @thiakil is a Mek dev, perhaps they are able to shead some light on this.

commented

If they're registered when the items are registered (or at the latest before Mek's init iirc) and they're in our "minor compatibility" list it should work indeed.

Minor compat is "Nickel", "Aluminum", "Uranium", "Draconium", "Platinum", "Iridium" (https://github.com/aidancbrady/Mekanism/blob/3e469fb40a2a086527cf14dbe9ba709f708a9bca/src/main/java/mekanism/common/integration/OreDictManager.java#L34)

Plus common metals like iron, gold, copper, tin, silver, lead (https://github.com/aidancbrady/Mekanism/blob/3e469fb40a2a086527cf14dbe9ba709f708a9bca/src/main/java/mekanism/common/Resource.java#L7)

commented

ProjectRed now registers all OreDictionary values along with the item during PreInit (4d65f16). It should fix this issue if Mek was checking this during the Init phase.

commented

Uhhh, why are you not using the registry events?

commented

Wasn’t aware there were events for registering to the OreDict?

commented

no, your items. ForgeRegistries.ITEMS.register is wrong.