JackyyTV / IntegrationForegoing

The official addon mod for Industrial Foregoing that adds additional mods compatibility!
https://minecraft.curseforge.com/projects/integration-foregoing
Other
7 stars 7 forks source link

[Suggestion] set preferred ore #46

Closed 0ptera closed 4 years ago

0ptera commented 5 years ago

Currently it seems the way to get laser drills to pick a specific ore is to change the oredict entry to that specific ore entry in default_ores.json. For example to force copper from immersive engineering over thermal foundation and forestry use immersiveengineering:ore.

Would it be possible to have a preferredOres setting like in ie and cofh?

S:preferredOres <        
        immersiveengineering
        thermalfoundation
        forestry
     >
JackyyTV commented 4 years ago

You can actually already do that by going go the config\laser_drill_ores folder and find the JSON file you would like to edit. For example, if you prefer to have the Copper Ore from Thermal Foundation, you can modify the entry in config\laser_drill_ores\default_ores.json, from this: image To this: image You have full control over each individual entries and tweak them to how you like, no additional support is needed, hope this helps!

(Sorry for the extremely delayed reply, I've been very very busy with work and never got around doing Minecraft stuff.)

0ptera commented 4 years ago

Isn't this just a different place to change the resulting ore. What I asked for was a way to set an ordered list of mods/ores from which IntegrationForegoing would pick the first available one.

JackyyTV commented 4 years ago

That is not actually possible to do in the addon due to limitations in the Industrial Foregoing API and the laser drill entries being written in JSON. It would probably be something that only Industrial Foregoing can implement on their side since all the JSON parsing and processing are done on their side, my addon mod only has access to the API, sorry.

0ptera commented 4 years ago

OK, thanks for clarifying.