So have a hard boiled egg! What's the problem!
Thinking about food can be neutral and even enjoyable, IMO. It depends on whether you're just thinking or you're obsessing... If you feel like you just have
to run out and get the food, then you're obsessing. Think of something else! Quick!