I working now at new addon for IC. But i faced the problem in ElecticItem.class main IC code. If i set MaxCharge of my item more than 5 000 000. Algorithm of calculation of a charge state in ElectricItem not work correctly (through meta data). Please fix algorithm of calculation charge state and Render through meta data.
Sample of new formula:
Code
		
					
				int k = nbttagcompound.getInt("charge"); // curr charge
int maxCharge = ielectricitem1.getMaxCharge();
int maxMetaValue = XXX;  // empty value
float coeff;
int minMetaValue = 1; // full charged state
int currMetaValue;  // current meta state
if (k == maxCharge ) {
   itemstack.setData(1);
}
else {
  coeff = 1 -((float)k/(float)maxCharge);
  currMetaValue = (int)Math.round(coeff * maxMetaValue);
  if (currMetaValue < minMetaValue ) { 
     currMetaValue = minMetaValue;
  }
  itemstack.setData(currMetaValue);
}
	
			Display More