From eb32fa9f8d681263f3b931c16a3876cf2db08024 Mon Sep 17 00:00:00 2001 From: Bernhard Bonigl Date: Mon, 2 Mar 2015 22:33:16 +0100 Subject: [PATCH] Add resonant frame filling if it's present --- src/main/java/tconstruct/plugins/te4/TinkerTE4.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/tconstruct/plugins/te4/TinkerTE4.java b/src/main/java/tconstruct/plugins/te4/TinkerTE4.java index 069860dc9ca..9e4efcca306 100644 --- a/src/main/java/tconstruct/plugins/te4/TinkerTE4.java +++ b/src/main/java/tconstruct/plugins/te4/TinkerTE4.java @@ -61,6 +61,12 @@ public void postInit(FMLPostInitializationEvent event) { ItemStack cellFrameFull = GameRegistry.findItemStack("ThermalExpansion", "frameCellReinforcedFull", 1); TConstructRegistry.getBasinCasting().addCastingRecipe(cellFrameFull, new FluidStack(redstoneFluid, 4000), cellFrameEmpty, true, 100); + cellFrameEmpty = GameRegistry.findItemStack("ThermalExpansion", "frameCellResonantEmpty", 1); + if(cellFrameEmpty != null) { + cellFrameFull = GameRegistry.findItemStack("ThermalExpansion", "frameCellResonantFull", 1); + TConstructRegistry.getBasinCasting().addCastingRecipe(cellFrameFull, new FluidStack(redstoneFluid, 4000), cellFrameEmpty, true, 100); + } + // glowstone illuminator ItemStack illuminatorEmpty = GameRegistry.findItemStack("ThermalExpansion", "frameIlluminator" ,1); ItemStack illuminator = GameRegistry.findItemStack("ThermalExpansion", "illuminator" ,1);