Unofficial hotfix for cleanup Mobile Charger.
This hotfix is for Minecraft 1.7.3, Industrial Craft 8.55_02, SSP
I don't create fix for SMP.
Installation:
1) Download mod_IndustrialCraft.class from http://www.mediafire.com/?nrv85z5emen4q34
2) Copy this file into minecraft.jar and overwrite original file from IndustrialCraft.
This hotfix give you about 1 minute time for charge item in mobile charger before it don't working. This is enough time for charge.
Changes in source code:
Code
TileEntity chargerEntity = null; //added
int chargerTime = 0; //added
public boolean myOSDHook(Minecraft minecraft, boolean flag)
{
cleanTimer--;
if(cleanTimer <= 0)
{
cleanTimer = 100;
List list = minecraft.theWorld.loadedTileEntityList;
if (chargerEntity != null) chargerTime++; //added
for(int j = 0; j < list.size(); j++)
{
if(!(list.get(j) instanceof TileEntity))
{
continue;
}
TileEntity tileentity = (TileEntity)list.get(j);
if(minecraft.theWorld.getBlockTileEntity(tileentity.xCoord, tileentity.yCoord, tileentity.zCoord) != tileentity)
{
if (tileentity instanceof TileEntityCharger) //added from this
{
if (chargerTime > 12 || chargerTime < 0) chargerEntity = null;
if (chargerEntity == null) {chargerEntity = tileentity; chargerTime = 0;}
if (chargerEntity == tileentity)
{
if (chargerTime == 12)
{
list.remove(j);
j--;
chargerEntity = null; chargerTime = 0;
}
}
} else{ //added to this
list.remove(j);
j--;
}
}
}
}
...
}
Display More
For ugoa: Bat-Pack work's fine. You need use batpack (right click with batpack in hand) each time when you load world. And then put batpack on self (chest armor position). And use charged drill.