Ported SimpleOres 1.4.6