aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/items/GT_RadioactiveCell_Item.java
diff options
context:
space:
mode:
authorTechlone <techlone.mc@gmail.com>2016-06-20 16:17:16 +0500
committerTechlone <techlone.mc@gmail.com>2016-06-20 16:17:16 +0500
commit8e9daf0f677045e1cd753123dcf2b649aaf0568d (patch)
tree0d4dcd8861248f38210a3d9d813078c93d5f0177 /src/main/java/gregtech/api/items/GT_RadioactiveCell_Item.java
parent708f59d6e7f46868c06b14aa56de556413973751 (diff)
parentf708fc5ff8faca68dcc334bcf85560630157cbf1 (diff)
downloadGT5-Unofficial-8e9daf0f677045e1cd753123dcf2b649aaf0568d.tar.gz
GT5-Unofficial-8e9daf0f677045e1cd753123dcf2b649aaf0568d.tar.bz2
GT5-Unofficial-8e9daf0f677045e1cd753123dcf2b649aaf0568d.zip
Merge branch 'experimental' of https://github.com/Blood-Asp/GT5-Unofficial into experimental
Diffstat (limited to 'src/main/java/gregtech/api/items/GT_RadioactiveCell_Item.java')
-rw-r--r--src/main/java/gregtech/api/items/GT_RadioactiveCell_Item.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/java/gregtech/api/items/GT_RadioactiveCell_Item.java b/src/main/java/gregtech/api/items/GT_RadioactiveCell_Item.java
index 8f28854028..082dab750b 100644
--- a/src/main/java/gregtech/api/items/GT_RadioactiveCell_Item.java
+++ b/src/main/java/gregtech/api/items/GT_RadioactiveCell_Item.java
@@ -1,5 +1,6 @@
package gregtech.api.items;
+import ic2.api.item.IBoxable;
import ic2.core.util.StackUtil;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
@@ -8,7 +9,7 @@ import net.minecraft.nbt.NBTTagCompound;
import java.util.List;
public class GT_RadioactiveCell_Item
- extends GT_Generic_Item {
+ extends GT_Generic_Item implements IBoxable{
protected int cellCount;
protected int maxDmg;
protected int dura;
@@ -140,4 +141,9 @@ public class GT_RadioactiveCell_Item
//aList.add("Time left: " + (this.maxDelay - getDurabilityOfStack(aStack)) + " secs");
aList.add("Durability: " + (this.maxDmg - getDurabilityOfStack(aStack)) + "/" + this.maxDmg);
}
+
+ @Override
+ public boolean canBeStoredInToolbox(ItemStack itemstack) {
+ return true;
+ }
}