spigot if (beef.getItem (). equals (material.cooked_beef)) {

 if(event.getItem().getType() == Material.COOKED_BEEF) {
 	//do stuff
 }
GrowingGravity