Bukkit/CraftBukkit — pull request #891 by Ranzdo (2012-09-20 18:22:57+00:00)
Title: Adds support for getting the consumed food in FoodChangeEvent

Problem: Right now you can't use the FoodChangeEvent to track what entities are eating if it was caused by it.

This will make the plugin developers be able to track if the event was caused by a entity consuming a material.