This has room for improvement to allow modded ores to work seamlessly with this, but this will do for now.