Fix for issue #1218 - Can't Macerate Basalt or Marble (#1224)

This commit is contained in:
drcrazy 2017-08-02 02:29:12 +03:00 committed by Modmuss50
parent 3ea0d2541a
commit aa2d15c109

View file

@ -111,6 +111,23 @@ public class ModRecipes {
}
}
IndustrialSawmillRecipes.init();
//Let it be in postInit to be sure that oredict already there
if (OreUtil.doesOreExistAndValid("stoneMarble")) {
ItemStack marbleStack = getOre("stoneMarble");
marbleStack.setCount(1);
RecipeHandler.addRecipe(new GrinderRecipe(
marbleStack, ItemDusts.getDustByName("marble"),
120, 10));
}
if (OreUtil.doesOreExistAndValid("stoneBasalt")) {
ItemStack marbleStack = getOre("stoneBasalt");
marbleStack.setCount(1);
RecipeHandler.addRecipe(new GrinderRecipe(
marbleStack, ItemDusts.getDustByName("basalt"),
120, 10));
}
}
private static void addCompressorRecipes() {