Custom Ore Gen for Minecraft 1.10

Category: Games

I’ve been trying to get the Custom Ore Generator mod working on Minecraft 1.10.

The most recent version, CustomOreGen-1.10.2-1.4.4.jar, loads up on Minecraft 1.10, but the configuration files for the various mods haven’t updated yet - that’s a work-in-progress, as per GitHub issue #156.


The main issues are that:

  • The COG configuration file is case-sensitive.
  • Mod names have changed - the new Forge standard is that all mod names should be lower-case. So ProjRed|Exploration has become projectred-exploration; ThermalExpansion has become thermalexpansion, and so on.
  • Block names have changed: ThermalExpansion:Ore:3 has become thermalexpansion:ore:3. (Note lowercase o in ore.)
  • Some new ores have been added. For example, Immersive Engineering for Minecraft 1.10 now has an oreUranium, which didn’t exist back in 1.7.10.

The task is to update the CustomOreGen config files, to match the changes in the mods (Project Red, Immersive Engineering, and so on.)

It looks like the easiest path to success is to use the companion program Sprocket, which is a utility for generating the XML config files for CustomOreGen itself. Some work (Sprocket #6) has been done updating this to work with the 1.10 versions of IC2, Forestry, Railcraft and Immersive Engineering.

Sidenote: CustomOreGen is a great mod, but has always been hard to configure. It’s great that someone wrote a utility to plug that gap.


Useful to know:

  • Make no changes to the default COG config files. The default config files are overwritten on startup!

    This is noted at the top of config\CustomOreGen\CustomOreGen_Config_Default.xml:

    *   IMPORTANT: TO CUSTOMIZE THIS CONFIGURATION, COPY THIS FILE TO
    *              "CustomOreGen_Config.xml".
    *              THIS FILE WILL BE OVERWRITTEN EVERY TIME THE MOD LOADS.
    

    Similarly, all the files config\CustomOreGen\modules\default\*.xml are overwritten on startup. So make copies in the CustomOreGen\modules\custom\. Then, delete the pointers from CustomOreGen_Config.xml.

    Note, all modules in CustomOreGen\modules\custom\* are imported by default, and importing the same module twice is a fatal error.

  • To get a list of all block names, install MineTweaker and use /mt list, which dumps this information to the minetweaker.log file. i.e. :

    <enderio:blockExitRail>, Exit Rail
    <enderio:blockExperienceObelisk>, Experience Obelisk
    <enderio:blockFarmStation>, Farming Station
    <enderio:blockFusedQuartz>, Fused Quartz
    <enderio:blockFusedQuartz_darkFusedGlass>, Dark Clear Glass
    
  • MineTweaker’s /mt oredict command dumps all ore dictionary entries to the minetweaker.log file. i.e. :

    Ore entries for <ore:oreCopper> :
    <thermalfoundation:ore>
    <immersiveengineering:ore>
    <techreborn:techreborn.ore2>
    <embers:oreCopper>
    <forestry:resources:1>
    <magneticraft:ore_block>
    <railcraft:ore:11>
    <railcraft:ore_metal>
    <projectred-exploration:ore:3>
    

Work on this task is on-going.