Tech Question, how does MFR Mining Laser identify ores?

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Golrith

Over-Achiever
Trusted User
Nov 11, 2012
3,834
2,137
248
Just wondering, how does the MFR mining laser identify a block is an ore?

Since it outputs ores not used as part of world gen, I'm assuming that it goes by ore dict entries? aka anything starting with ore, and that the filters must look for keywords within the ore dict name.


I've added a number of new ore blocks using Custom Items, which I'd l like the mining laser to be able to "dig up". Plus, i'd also like to remove other variations of ores too.
 

GreenZombie

New Member
Jul 29, 2019
2,402
-1
0
Big Reactors registers yelloruim with the Minign laser via

Code:
        import powercrystals.minefactoryreloaded.api.FactoryRegistry;

        if(Loader.isModLoaded("MineFactoryReloaded")) {
            FactoryRegistry.registerLaserOre(2, yelloriteOre.copy());
            FactoryRegistry.addLaserPreferredOre(9, yelloriteOre.copy()); // Register yellorite with cyan, becuz.
        }

cyan? Why in the hell have I been using yellow filters.
 

GreenZombie

New Member
Jul 29, 2019
2,402
-1
0
I think MFR itself registers yellorite under yellow.

Why would @powercrystals have done that?MFR predates BR by quite a bit - if it does anything it might be "capturing" yellorite ore via its oreUranium forge equivalence and boosting it in via its default uranium as lime registration.