@Deprecated public ShapelessRecipe removeIngredient(int count,Material ingredient,int rawdata){
  Iterator<ItemStack> iterator=ingredients.iterator();
  while (count > 0 && iterator.hasNext()) {
    ItemStack stack=iterator.next();
    if (stack.getType() == ingredient && stack.getDurability() == rawdata) {
      iterator.remove();
      count--;
    }
  }
  return this;
}

@ Deprecated public ShapelessRecipe removeIngredient ( int count , Material ingredient , int rawdata ) { Iterator < ItemStack > iterator = ingredients . iterator ( ) ; while ( count > 0 && iterator . hasNext ( ) ) { ItemStack stack = iterator . next ( ) ; if ( stack . getType ( ) == ingredient && stack . getDurability ( ) == rawdata ) { iterator . remove ( ) ; count -- ; } } return this ; }
removes multiple instances of an ingredient from the list . if there are less instances then specified , all will be removed . if the data value is - 1 , only ingredients with a - 1 data value will be removed .
