MovingBlocks/Terasology — pull request #1020 by Josharias (2014-03-20 18:23:56+00:00)
Title: Add OreGenerator to get these blocks in the default world generation

There is no special grouping algorithm, it randomly replaces stone with ores; each ore has its own density. This is just a stopgap measure until world generation is reworked.