final InventoryHolder fromHolder = from.getHolder();
// Obtaining items from a furnace? Only use output slot!
if (from instanceof FurnaceInventory) {
final FurnaceInventory finv = (FurnaceInventory) from;
from = new InventoryBase() {
@Override
public int getSize() {
return 1;
}