ItemRegUtil checks for "minecraft" now.

Also, a handy new method in FileHelper.