public int getInputSize(ItemStack stack, int slot) {
   ItemStack[] outputs = CrusherRecipes.instance().getOutput(stack);
   if (outputs != null) {
     return CrusherRecipes.instance().getInputSize(slot, outputs);
   }
   return 1;
 }
 public ItemStack getOutput(ItemStack stack) {
   ItemStack[] outputs = CrusherRecipes.instance().getOutput(stack);
   if (outputs != null) {
     return outputs[0];
   }
   return null;
 }