From f18822aca0f0e2320070e73ac1c2511ff1063b79 Mon Sep 17 00:00:00 2001 From: "Joseph C. Sible" Date: Sun, 24 Sep 2017 21:05:32 -0400 Subject: [PATCH] Allow creating diamond ore with the combiner Add a combiner recipe for 3 x Diamond Dust -> 1 x Diamond Ore. This is in line with the rest of the dust recipes, and it doesn't allow getting infinite diamonds, since even with fortune 3, you only get an average of 2.5 diamonds (and thus 2.5 diamond dusts) per ore. --- src/main/java/mekanism/common/integration/OreDictManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/mekanism/common/integration/OreDictManager.java b/src/main/java/mekanism/common/integration/OreDictManager.java index 5180da999..91abc8e8f 100644 --- a/src/main/java/mekanism/common/integration/OreDictManager.java +++ b/src/main/java/mekanism/common/integration/OreDictManager.java @@ -266,6 +266,7 @@ public final class OreDictManager for(ItemStack ore : OreDictionary.getOres("dustDiamond")) { + RecipeHandler.addCombinerRecipe(StackUtils.size(ore, 3), new ItemStack(Blocks.DIAMOND_ORE)); InfuseRegistry.registerInfuseObject(ore, new InfuseObject(InfuseRegistry.get("DIAMOND"), 10)); RecipeHandler.addEnrichmentChamberRecipe(StackUtils.size(ore, 1), new ItemStack(Items.DIAMOND)); }