Skip to content

Commit

Permalink
A really wonky recipe for TE hardened glass to have complete integrat…
Browse files Browse the repository at this point in the history
…ion. For completeness sake.
  • Loading branch information
bonii-xx committed Feb 14, 2015
1 parent 6a6ea4e commit 1d11890
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/java/tconstruct/plugins/te4/TinkerTE4.java
Expand Up @@ -4,6 +4,7 @@
import cpw.mods.fml.common.registry.*;
import cpw.mods.fml.common.registry.GameRegistry.ObjectHolder;
import mantle.pulsar.pulse.*;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fluids.Fluid;
Expand All @@ -12,6 +13,7 @@
import net.minecraftforge.oredict.*;
import tconstruct.TConstruct;
import tconstruct.library.TConstructRegistry;
import tconstruct.smeltery.TinkerSmeltery;
import tconstruct.tools.TinkerTools;
import tconstruct.world.TinkerWorld;

Expand Down Expand Up @@ -73,5 +75,11 @@ public void postInit(FMLPostInitializationEvent event) {
TConstructRegistry.getTableCasting().addCastingRecipe(plateRedstone, new FluidStack(redstoneFluid, 1000), plate, true, 100);
TConstructRegistry.getTableCasting().addCastingRecipe(plateGlowstone, new FluidStack(glowstoneFluid, 1000), plate, true, 100);
TConstructRegistry.getTableCasting().addCastingRecipe(plateEnder, new FluidStack(enderFluid, 1000), plate, true, 100);

// last but not least.. a really weird hardened glass recipe
ItemStack hardenedGlass = GameRegistry.findItemStack("ThermalExpansion", "blockGlassHardened" ,1);
ItemStack obsidian = new ItemStack(Blocks.obsidian);
FluidStack lead = new FluidStack(TinkerSmeltery.moltenLeadFluid, TConstruct.ingotLiquidValue/2);
TConstructRegistry.getBasinCasting().addCastingRecipe(hardenedGlass, lead, obsidian, true, 150);
}
}

0 comments on commit 1d11890

Please sign in to comment.