@@ -0,0 +1,1832 @@
+package com.mcmoddev.nethermetals.integration.plugins;%0D%0A%0D%0Aimport com.mcmoddev.nethermetals.NetherMetals;%0D%0A%0D%0Aimport net.minecraft.item.Item;%0D%0Aimport net.minecraft.item.ItemStack;%0D%0Aimport net.minecraft.item.crafting.IRecipe;%0D%0Aimport net.minecraftforge.common.MinecraftForge;%0D%0Aimport net.minecraftforge.event.RegistryEvent;%0D%0Aimport net.minecraftforge.fml.common.eventhandler.SubscribeEvent;%0D%0A%0D%0Aimport java.util.List;%0D%0Aimport java.util.ArrayList;%0D%0A%0D%0Aimport com.mcmoddev.basemetals.init.Materials;%0D%0Aimport com.mcmoddev.lib.data.Names;%0D%0Aimport com.mcmoddev.lib.integration.IIntegration;%0D%0Aimport com.mcmoddev.lib.integration.MMDPlugin;%0D%0Aimport com.mcmoddev.lib.integration.plugins.IC2Base;%0D%0Aimport com.mcmoddev.lib.material.MMDMaterial;%0D%0Aimport com.mcmoddev.lib.util.ConfigBase.Options;%0D%0Aimport com.mcmoddev.lib.util.Oredicts;%0D%0A%0D%0A@MMDPlugin(addonId=NetherMetals.MODID, pluginId = IC2.PLUGIN_MODID)%0D%0Apublic class IC2 extends IC2Base implements IIntegration %7B%0D%0A%0D%0A%09private static boolean initDone = false;%0D%0A%09%0D%0A%09@Override%0D%0A%09public void init() %7B%0D%0A%09%09if (initDone %7C%7C !Options.isModEnabled(IC2.PLUGIN_MODID)) %7B%0D%0A%09%09%09return;%0D%0A%09%09%7D%0D%0A%09%09%0D%0A%09%09MinecraftForge.EVENT_BUS.register(this);%0D%0A%09%09%0D%0A%09%09initDone = true;%0D%0A%09%7D%0D%0A%0D%0A    @SubscribeEvent%0D%0A    public void regCallback(RegistryEvent.Register%3CIRecipe%3E ev) %7B%0D%0A    %09List%3CMMDMaterial%3E myMats = new ArrayList%3C%3E();%0D%0A    %09%0D%0A    %09Materials.getAllMaterials().stream().filter((mat) -%3E mat.hasBlock(Names.NETHERORE)).forEach((mat) -%3E myMats.add(mat));%0D%0A    %09for( MMDMaterial mat : myMats ) %7B%0D%0A    %09%09ItemStack output;%0D%0A    %09%09if( mat.hasItem(Names.CRUSHED)) %7B%0D%0A    %09%09%09output = new ItemStack( mat.getItem(Names.CRUSHED), 4 );%0D%0A    %09%09%7D else %7B%0D%0A    %09%09%09output = new ItemStack( mat.getItem(Names.POWDER), 4);%0D%0A    %09%09%7D%0D%0A    %09%09%0D%0A    %09%09addMaceratorRecipe(Oredicts.ORE_NETHER+mat.getCapitalizedName(), output);%0D%0A    %09%7D%0D%0A    %7D%0D%0A%7D%0D%0A%0D%0A

add IC2 macerator integration - if the material the nether ore is made from has a 'Crushed', you get 4 of those, otherwise 4 powders (from the macerator)