package exnihiloadscensio.compatibility.tconstruct;

import exnihiloadscensio.items.ENItems;
import slimeknights.tconstruct.library.TinkerRegistry;
import slimeknights.tconstruct.library.modifiers.Modifier;

public class CompatTConstruct
{
    public static void postInit()
    {
        Modifier smashingModifier = new ModifierSmashing();
        
        TinkerRegistry.registerModifier(smashingModifier);
        smashingModifier.addItem(ENItems.hammerDiamond);
    }
}

@@ -57,412 +57,1088 @@
 ort 
-exnihiloadscensio.items.ENItems;%0Aimport slimeknights.tconstruct.library.TinkerRegistry;%0Aimport slimeknights.tconstruct.library.modifiers.Modifier;%0A%0Apublic class CompatTConstruct%0A%7B%0A    public static void postInit()%0A    %7B%0A        Modifier smashingModifier = new ModifierSmashing();%0A        %0A        TinkerRegistry.registerModifier(smashingModifier);%0A        smashingModifier.addItem(ENItems.hammerDiamond);
+net.minecraft.item.ItemStack;%0Aimport net.minecraftforge.fluids.Fluid;%0Aimport net.minecraftforge.fluids.FluidRegistry;%0Aimport exnihiloadscensio.items.ENItems;%0Aimport exnihiloadscensio.items.ore.ItemOre;%0Aimport exnihiloadscensio.registries.OreRegistry;%0Aimport slimeknights.tconstruct.library.TinkerRegistry;%0Aimport slimeknights.tconstruct.library.materials.Material;%0Aimport slimeknights.tconstruct.library.modifiers.Modifier;%0A%0Apublic class CompatTConstruct%0A%7B%0A    public static void postInit()%0A    %7B%0A        Modifier smashingModifier = new ModifierSmashing();%0A        %0A        TinkerRegistry.registerModifier(smashingModifier);%0A        smashingModifier.addItem(ENItems.hammerDiamond);%0A        %0A        registerMelting();%0A    %7D%0A    %0A    public static void registerMelting() %7B%0A    %09for (ItemOre ore : OreRegistry.getItemOreRegistry()) %7B%0A    %09%09if (FluidRegistry.isFluidRegistered(ore.getOre().getName())) %7B%0A    %09%09%09Fluid fluid = FluidRegistry.getFluid(ore.getOre().getName());%0A    %09%09%09TinkerRegistry.registerMelting(new ItemStack(ore, 1, 1), fluid, 2*Material.VALUE_Ingot);%0A    %09%09%7D%0A    %09%7D
 %0A   

Add Tinkers Melting compat