List<PowerReturn> needsPower = new LinkedList<PowerReturn>();
if (theList.size() > 0) {
for (int b = 0; b < theList.size(); b++) {
Orientations newPos = theList.get(b);
Position destPos = new Position(a.xCoord, a.yCoord, a.zCoord, newPos);
destPos.moveForwards(1.0);
TileEntity tile = worldObj.getBlockTileEntity((int)destPos.x, (int)destPos.y, (int)destPos.z);
if (TileNeedsPower(tile)) {
needsPower.add(new PowerReturn(tile, newPos.reverse()));
}