Revert "Cobalt need EBF"

This reverts commit c1f51414c5.
This commit is contained in:
Dream-Master 2016-04-01 19:58:45 +02:00
parent c1f51414c5
commit aeb50268c7

View file

@ -1,7 +1,6 @@
package gregtech.api.items;
import ic2.core.util.StackUtil;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
@ -39,12 +38,9 @@ public class GT_RadioactiveCell_Item
}
protected static int triangularNumber(int x)
{
return (x * x + x) / 2;
}
{
return (x * x + x) / 2;
}
protected boolean outputPulseForStack(ItemStack aStack) {
NBTTagCompound tNBT = aStack.getTagCompound();
if (tNBT == null) {
@ -137,8 +133,8 @@ public class GT_RadioactiveCell_Item
setDamageForStack(stack, getDamageOfStack(stack) + Dmg);
}
public void addAdditionalToolTips(List aList, ItemStack aStack, EntityPlayer aPlayer) {
super.addAdditionalToolTips(aList, aStack, aPlayer);
public void addAdditionalToolTips(List aList, ItemStack aStack) {
super.addAdditionalToolTips(aList, aStack);
//aList.add("Time left: " + (this.maxDelay - getDurabilityOfStack(aStack)) + " secs");
aList.add("Durability: " + (this.maxDmg - getDurabilityOfStack(aStack)) + "/" + this.maxDmg);
}