You need to tap the Spacebar as quickly as you can while standing under a block right above you to lose hunger fast in Minecraft. If you could sprint while doing so, hunger will go faster.