Remove Refined Iron from ic2 duplicates

This commit is contained in:
modmuss50 2019-01-18 16:20:34 +00:00
parent 292664b8e1
commit 498d675f30
3 changed files with 2 additions and 3 deletions

View file

@ -59,7 +59,6 @@ public enum IC2Duplicates {
CABLE_IHV(EnumCableType.IHV.getStack()),
CABLE_IIHV(EnumCableType.TIN.getStack()),
MIXED_METAL(ItemIngots.getIngotByName("mixed_metal")),
REFINED_IRON(ItemIngots.getIngotByName("refined_iron")),
CARBON_FIBER(ItemParts.getPartByName("carbon_fiber")),
CARBON_MESH(ItemParts.getPartByName("carbon_mesh")),
NEUTRON_REFLECTOR(ItemParts.getPartByName("neutron_reflector")),

View file

@ -395,7 +395,7 @@ public class ModRecipes {
}
static void addIc2Recipes() {
RebornCraftingHelper.addShapelessOreRecipe(new ItemStack(ModItems.MANUAL), IC2Duplicates.REFINED_IRON.getStackBasedOnConfig(),
RebornCraftingHelper.addShapelessOreRecipe(new ItemStack(ModItems.MANUAL), "ingotRefinedIron",
Items.BOOK);
// RebornCraftingHelper

View file

@ -393,7 +393,7 @@ public class CraftingTableRecipes extends RecipeMethods {
return;
}
if (top.equals("ingotRefinedIron") && IC2Duplicates.deduplicate()) {
registerShaped(getMaterial("mixed_metal", amount, Type.INGOT), "TTT", "MMM", "BBB", 'T', getStack(IC2Duplicates.REFINED_IRON), 'M', middle, 'B', bottom);
registerShaped(getMaterial("mixed_metal", amount, Type.INGOT), "TTT", "MMM", "BBB", 'T', "ingotRefinedIron", 'M', middle, 'B', bottom);
} else {
registerShaped(getMaterial("mixed_metal", amount, Type.INGOT), "TTT", "MMM", "BBB", 'T', top, 'M', middle, 'B', bottom);
}