Too Many God Damn Ores - Ore Dictionary Enforcement

Mods
3,263 Downloads Last Updated: Jun 26, 2014 Game Version: 1.7.2

This is a simple utility mod, and my first mod at that.

Not all mods allow you to disable their world gen, and sometimes you want multiple mods worth of ore gen, but without using lots of inventory space to store all the different kinds of copper, tin or silver.

This mod aims to prevent that. Rather than replace the block in the world or disable ore gen from other mods, it replaces it as you harvest it. It's all based off configuration and is very easy to use.

To configure a replacement, simply add the ore dictionary name, followed by the modid for the replacement block.

Take the below configuration as an example:

# Configuration file

####################
# exclusions
####################

exclusions {
        S:oreCopper <
                TConstruct:GravelOre
        >
        S:oreTin <
                TConstruct:GravelOre
        >
}

####################
# replacements
####################

replacements {
        S:oreCopper=IC2
        S:oreTin=IC2
}

Now, when a block is harvested (mined with a pickaxe etc) that belongs to either the oreCooper or oreTin entry in the ore dictionary, this mod will replace the block drop with the corresponding entry from the mod with the modid IC2, so in this case, IndustrialCraft 2.

This works with silk touch, and aims to not interfere with any other mods that use the HarvestDropsEvent.

In the case of mods like TinkersConstruct, you'll want to exclude certain blocks from being replaced or being used to replace others. In the example above you'll see us excluding the gravel ore blocks.

It is largely aimed at those who play their own selection of mods, or for those who are putting together public modpacks.

Comments

Posts Quoted: