Currently most of recipes that use RE-Battery have two recipes (first use only discharged items, second use only charged items). Other mods often have only one recipe for empty RE-Battery (Railcraft). Also, by default all recipes that use empty RE-Battery don't showed in NEI because "enableSecretRecipeHiding=true" hide them.
Possibly solution: modify AdvRecipe class.
Before
Code
public ItemStack getCraftingResult(InventoryCrafting inventorycrafting)
...
if ((offer.getItem() instanceof IElectricItem)) {
if (offer.itemID == requestedItemStack.itemID) {
outputCharge += ElectricItem.discharge(offer, Integer.MAX_VALUE, Integer.MAX_VALUE, true, true);
found = true;
break;
}
}
After
Code
public ItemStack getCraftingResult(InventoryCrafting inventorycrafting)
...
if ((offer.getItem() instanceof IElectricItem) && (requestedItemStack.getItem() instanceof IElectricItem)) {
IElectricItem requestedItem = (IElectricItem)requestedItemStack.getItem();
if (offer.itemID == requestedItem.getChargedItemId() || offer.itemID == requestedItem.getEmptyItemId()) {
outputCharge += ElectricItem.discharge(offer, Integer.MAX_VALUE, Integer.MAX_VALUE, true, true);
found = true;
break;
}
}