Using ICustomElectricItem to create an "infinite" power source...
i figured that by using:
public int discharge(ItemStack itemStack, int amount, int tier, boolean ignoreTransferLimit, boolean simulate)
{
return 0;
}
the simulate would make it infinite but the problem is when i use the "public int charge" i have to put "boolean simulate" with the charge as well as discharge else i get an abstract error. so now my battery wont charge to begin with... is there a better way to do this?