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

@ -220,6 +220,12 @@ public class ModRecipes {
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")) {
ItemStack oreStack = getDictOreOrEmpty(oreDictionaryName, 1); ItemStack oreStack = getDictOreOrEmpty(oreDictionaryName, 1);