Work on Formulaic Assemblicator, many fixes

This commit is contained in:
aidancbrady committed 2016-03-12 11:43:44 -05:00
1 parent f31e32fcf2
commit 6f4e73d15e
12 files changed
+302 -23

No files matched your search

@@ -1,8 +1,8 @@
package mekanism.common.recipe;
import mekanism.common.MekanismItems;
import mekanism.common.block.BlockBasic.BasicType;
import mekanism.common.inventory.InventoryBin;
import mekanism.common.item.ItemBlockBasic;
import mekanism.common.item.ItemProxy;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.InventoryCrafting;
@@ -39,7 +39,7 @@ public class BinRecipe implements IRecipe
return false;
}
return itemStack.getItem() instanceof ItemBlockBasic && itemStack.getItemDamage() == 6 && itemStack.stackSize == 1;
return BasicType.get(itemStack) == BasicType.BIN && itemStack.stackSize <= 1;
}
@Override
@@ -99,7 +99,7 @@ public class BinRecipe implements IRecipe
}
binInv.add(addStack);
return bin;
}
else {