aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/recipe/common
diff options
context:
space:
mode:
authorJordan Byrne <draknyte1@hotmail.com>2018-01-08 19:58:35 +1000
committerJordan Byrne <draknyte1@hotmail.com>2018-01-08 19:58:35 +1000
commitf357e3a1753c7c542d48bb217d8a2545cb9544c4 (patch)
tree940bdbf5bfafc6faa7ccbc810f6b2e59367aca9b /src/Java/gtPlusPlus/core/recipe/common
parent2b77e70b058ed0a82b3a4a163a04ec5d9ed00c67 (diff)
downloadGT5-Unofficial-f357e3a1753c7c542d48bb217d8a2545cb9544c4.tar.gz
GT5-Unofficial-f357e3a1753c7c542d48bb217d8a2545cb9544c4.tar.bz2
GT5-Unofficial-f357e3a1753c7c542d48bb217d8a2545cb9544c4.zip
+ Added an interface to make tooltips on tile entities more flexible.
+ Actually added the recipe for the Mining Explosives this time. + Attempted to add a framework for packet handling.
Diffstat (limited to 'src/Java/gtPlusPlus/core/recipe/common')
-rw-r--r--src/Java/gtPlusPlus/core/recipe/common/CI.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/core/recipe/common/CI.java b/src/Java/gtPlusPlus/core/recipe/common/CI.java
index 9159025922..f9dc105792 100644
--- a/src/Java/gtPlusPlus/core/recipe/common/CI.java
+++ b/src/Java/gtPlusPlus/core/recipe/common/CI.java
@@ -11,6 +11,9 @@ import gtPlusPlus.core.recipe.LOADER_Machine_Components;
import gtPlusPlus.core.util.Utils;
import gtPlusPlus.core.util.item.ItemUtils;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
+import ic2.core.Ic2Items;
+import net.minecraft.init.Blocks;
+import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
public class CI {
@@ -162,8 +165,26 @@ public class CI {
public static String craftingToolCrowbar = "craftingToolCrowbar";
public static String craftingToolWireCutter = "craftingToolWirecutter";
public static String craftingToolSolderingIron = "craftingToolSolderingIron";
+
+ //Explosives
+ public static ItemStack explosivePowderKeg;
+ public static ItemStack explosiveTNT;
+ public static ItemStack explosiveITNT;
public static void Init(){
+
+ //Set Explosives
+ if (ItemList.valueOf("Block_Powderbarrel") != null){
+ explosivePowderKeg = ItemList.valueOf("Block_Powderbarrel").get(1);
+ }
+ else {
+ explosivePowderKeg = ItemUtils.getSimpleStack(Items.gunpowder);
+ }
+ explosiveTNT = ItemUtils.getSimpleStack(Blocks.tnt);
+ explosiveITNT = Ic2Items.industrialTnt.copy();
+
+
+
//Tiered Components
component_Plate = new String[]{