Taiwan's agriculture ministry says it has more than seven months' worth of rice stockpiled in case of a blockade from China.