Then just make a 9x9 dirt pad, put 1 water block in the center, hoe everything, and plant wheat. Put it in a high traffic area that you walk past frequently. You'll get plenty of wheat for such purposes. AKA vanilla.
Another option other than cow farm, if you're using it for food, is to...