diff options
author | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2019-02-28 21:34:36 +0000 |
---|---|---|
committer | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2019-02-28 21:34:36 +0000 |
commit | 5b5e135356516e684a8e5baad0299554a3f63ebc (patch) | |
tree | 4e406a6713649d6ae7e7160206624376a32ae2aa /src/Java | |
parent | 21903e4a3f6eda3740de34c9e2ba637eaee08369 (diff) | |
download | GT5-Unofficial-5b5e135356516e684a8e5baad0299554a3f63ebc.tar.gz GT5-Unofficial-5b5e135356516e684a8e5baad0299554a3f63ebc.tar.bz2 GT5-Unofficial-5b5e135356516e684a8e5baad0299554a3f63ebc.zip |
+ Added dehydrator recipe for tanned leather.
Diffstat (limited to 'src/Java')
-rw-r--r-- | src/Java/gtPlusPlus/core/recipe/RECIPES_GREGTECH.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/core/recipe/RECIPES_GREGTECH.java b/src/Java/gtPlusPlus/core/recipe/RECIPES_GREGTECH.java index 6e9cb11cd2..37c7fef1db 100644 --- a/src/Java/gtPlusPlus/core/recipe/RECIPES_GREGTECH.java +++ b/src/Java/gtPlusPlus/core/recipe/RECIPES_GREGTECH.java @@ -2,6 +2,7 @@ package gtPlusPlus.core.recipe; import static gtPlusPlus.core.lib.CORE.GTNH; +import cpw.mods.fml.common.Loader; import gregtech.api.GregTech_API; import gregtech.api.enums.ConfigCategories; import gregtech.api.enums.GT_Values; @@ -1067,6 +1068,23 @@ public class RECIPES_GREGTECH { ItemUtils.getItemStackOfAmountFromOreDict("cellHydrogen", 2) }, // Output 3 * 20, // Time in ticks 30); // EU + + /* + * Try Add custom Recipe for drying leather + */ + if (LoadedMods.PamsHarvestcraft && Loader.isModLoaded("Backpack")) { + ItemStack aLeather1, aLeather2; + aLeather1 = ItemUtils.getCorrectStacktype("harvestcraft:hardenedleatherItem", 1); + aLeather2 = ItemUtils.getCorrectStacktype("Backpack:tannedLeather", 1); + CORE.RA.addDehydratorRecipe( + aLeather1, + GT_Values.NF, + new ItemStack[] { + aLeather2 + }, + 5 * 20, + 180); + } } |