diff options
| author | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2019-05-13 19:30:18 +1000 |
|---|---|---|
| committer | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2019-05-13 19:30:18 +1000 |
| commit | afbdec041ed8696392076e24fc87511f9b54909e (patch) | |
| tree | 7323523fc0de3453a70f499ed006d136139cbe39 /src/Java/gtPlusPlus/core/recipe/common | |
| parent | ff47ff098d524402639b3593a0eb58dbbcbeb538 (diff) | |
| download | GT5-Unofficial-afbdec041ed8696392076e24fc87511f9b54909e.tar.gz GT5-Unofficial-afbdec041ed8696392076e24fc87511f9b54909e.tar.bz2 GT5-Unofficial-afbdec041ed8696392076e24fc87511f9b54909e.zip | |
+ Added the Industrial Vacuum Furnace. This Multiblock also doubles as a Dehydrator for higher tiers.
+ Added recipe for the Industrial Vacuum Furnace.
% Cleaned up heating coil code, now it's in one location for easier updating in future.
Diffstat (limited to 'src/Java/gtPlusPlus/core/recipe/common')
| -rw-r--r-- | src/Java/gtPlusPlus/core/recipe/common/CI.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/core/recipe/common/CI.java b/src/Java/gtPlusPlus/core/recipe/common/CI.java index 80abc18158..a9f336d19c 100644 --- a/src/Java/gtPlusPlus/core/recipe/common/CI.java +++ b/src/Java/gtPlusPlus/core/recipe/common/CI.java @@ -17,6 +17,7 @@ import gtPlusPlus.core.util.math.MathUtils; import gtPlusPlus.core.util.minecraft.ItemUtils; import gtPlusPlus.xmod.eio.material.MaterialEIO; import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList; +import gtPlusPlus.xmod.gregtech.common.StaticFields59; import ic2.core.Ic2Items; import net.minecraft.init.Blocks; import net.minecraft.init.Items; @@ -1201,4 +1202,28 @@ public class CI { return ItemUtils.getSimpleStack(aType, aSize); } + public static ItemStack getHeatCoil(int i) { + if (!CORE.MAIN_GREGTECH_5U_EXPERIMENTAL_FORK) { + if (i == 1) { + return ItemList.Casing_Coil_Kanthal.get(1); + } else if (i == 2) { + return ItemList.Casing_Coil_Nichrome.get(1); + } else { + return ItemList.Casing_Coil_Cupronickel.get(1); + } + } else { + if (!CORE.GTNH) { + if (i > 6) { + i = 6; + } + } else { + if (i > 8) { + i = 8; + } + } + return ItemUtils.simpleMetaStack(StaticFields59.getBlockCasings5(), i, 1); + } + + } + } |
