Make lapis ore grindable to vanilla lapis.

This commit is contained in:
drcrazy 2017-12-18 18:29:00 +03:00
parent 677bb59ceb
commit 328aac0ed2

View file

@ -219,6 +219,12 @@ public class ModRecipes {
new ItemStack(Items.ENDER_PEARL), new ItemStack(Items.ENDER_PEARL),
ItemDusts.getDustByName("ender_pearl", 2), ItemDusts.getDustByName("ender_pearl", 2),
200, 22)); 200, 22));
RecipeHandler.addRecipe(new GrinderRecipe(
new ItemStack(Blocks.LAPIS_ORE),
new ItemStack(Items.DYE, 10, 4),
170, 19));
for (String oreDictionaryName : OreDictionary.getOreNames()) { for (String oreDictionaryName : OreDictionary.getOreNames()) {
if (isDictPrefixed(oreDictionaryName, "ore", "gem", "ingot")) { if (isDictPrefixed(oreDictionaryName, "ore", "gem", "ingot")) {