aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core
diff options
context:
space:
mode:
authorDraknyte1 <Draknyte1@hotmail.com>2016-10-20 02:52:06 +1000
committerDraknyte1 <Draknyte1@hotmail.com>2016-10-20 02:52:06 +1000
commita9d22d7d85ba567cacc83e22cecae06ceb1e4936 (patch)
tree56c813c851710f32c124833d9e85fc1ddb9de83a /src/Java/gtPlusPlus/core
parentd53b08982a6d2be3cc0be4552520bfc500576f6f (diff)
downloadGT5-Unofficial-a9d22d7d85ba567cacc83e22cecae06ceb1e4936.tar.gz
GT5-Unofficial-a9d22d7d85ba567cacc83e22cecae06ceb1e4936.tar.bz2
GT5-Unofficial-a9d22d7d85ba567cacc83e22cecae06ceb1e4936.zip
$ Fixed Workbench recipe not using correct machine casing.
$ Fixed the Extruder and the Alloy smelter eating the shaping molds. $ Fixed .09 recipes for cells. % Changed the recipes for the Geothermal Engines and Rocket Engines.
Diffstat (limited to 'src/Java/gtPlusPlus/core')
-rw-r--r--src/Java/gtPlusPlus/core/material/Material.java8
-rw-r--r--src/Java/gtPlusPlus/core/recipe/RECIPES_General.java3
2 files changed, 9 insertions, 2 deletions
diff --git a/src/Java/gtPlusPlus/core/material/Material.java b/src/Java/gtPlusPlus/core/material/Material.java
index 0902bf62f9..3e5c3a4d67 100644
--- a/src/Java/gtPlusPlus/core/material/Material.java
+++ b/src/Java/gtPlusPlus/core/material/Material.java
@@ -174,6 +174,14 @@ public class Material {
public ItemStack getPlateDouble(int stacksize){
return UtilsItems.getItemStackOfAmountFromOreDictNoBroken("plateDouble"+unlocalizedName, stacksize);
}
+
+ public ItemStack getGear(int stacksize){
+ return UtilsItems.getItemStackOfAmountFromOreDictNoBroken("gear"+unlocalizedName, stacksize);
+ }
+
+ public ItemStack getRod(int stacksize){
+ return UtilsItems.getItemStackOfAmountFromOreDictNoBroken("stick"+unlocalizedName, stacksize);
+ }
public ItemStack[] getMaterialComposites(){
//Utils.LOG_INFO("Something requested the materials needed for "+localizedName);
diff --git a/src/Java/gtPlusPlus/core/recipe/RECIPES_General.java b/src/Java/gtPlusPlus/core/recipe/RECIPES_General.java
index 9a396334d4..1d17bee204 100644
--- a/src/Java/gtPlusPlus/core/recipe/RECIPES_General.java
+++ b/src/Java/gtPlusPlus/core/recipe/RECIPES_General.java
@@ -1,6 +1,5 @@
package gtPlusPlus.core.recipe;
-import gregtech.api.enums.ItemList;
import gtPlusPlus.core.block.ModBlocks;
import gtPlusPlus.core.item.ModItems;
import gtPlusPlus.core.lib.LoadedMods;
@@ -25,7 +24,7 @@ public class RECIPES_General {
public static void RECIPES_LOAD(){
if (LoadedMods.Gregtech){
- RECIPE_BasicCasingIC2 = ItemList.Casing_Gearbox_Bronze.get(1);
+ RECIPE_BasicCasingIC2 = UtilsItems.getItemStack("IC2:blockMachine", 1);
run();
}
}