The key to not becoming a victim of starvation in Minecraft: eating. Basically, you just need to pick up a food item. Aim somewhere in the void instead of aiming on a block and keep the right mouse button pressed for a while. Now, your character will eat the food and your hunger indicator will be filled up according to the respective nutritional value of the food.