Sprinting

Sprinting is a method of transportation that allows the player to move faster, at the expense of depleting more hunger. While sprinting, the player's field of vision expands slightly.

Activating
To sprint, the player can press while moving, or double tap. The player cannot sprint if their hunger bar is at or below.

Ocelots, iron golems, wither skeletons, baby zombies, baby drowned, stray cats, baby zombie pigmen, endermen, evokers, vindicators and villagers can also sprint like the player.

Usage
Sprinting allows the player to move at around 5.612 meters/second, which is 30 percent faster than the normal walking speed of around 4.317 m/s. The player can turn while sprinting, resulting in slightly reduced speed. Sprinting also increases the speed of flying in Creative mode, and the speed of swimming. Although "sprinting" while mounted on a minecart, boat, horse, or pig increases the field of vision like actual sprinting, it does not increase the entity's speed. However, one can accelerate a pig by pressing the boost button.

While sprinting, it is possible to jump across up to four (possibly five) blocks horizontally, instead of the usual two blocks, although sprinting does not cause the player to jump higher.

Sprinting reduces the player's saturation. When saturation reaches zero, the hunger bar depletes at a rate of $1/2$ every 40 meters, or 7 seconds.

Sprinting produces particles at the player's feet corresponding to the block type they are running on. Also, when a player attacks any mob (excluding squid and iron golems) while sprinting, the mob suffers a larger knockback than usual. Sprinting and holding down jump at the same time is usually faster, but actually becomes slower when under the effect of a high level speed potion.

Sprinting ends when the player collides with a solid block, sneaks, blocks or attacks a mob. If none of these happen, the player automatically stops sprinting after 30 seconds. Sprinting also ends if the hunger bar reduces to or less.

Sprinting pauses when the player eats food or drinks potions, but pressing while having food or potions does not start sprinting.

Trivia

 * Sprinting and jumping while under a 2 block high ceiling causes a player to move at a speed almost twice as fast as regular sprinting speed, but it consumes a hunger point every second.
 * This can be sped up even more by decreasing the ceiling height using trapdoors or by sprinting on ice.
 * A similar effect occurs if the player sprints and rapidly hits at the same time on a set of stairs.
 * There is a glitch when upon entering a portal with the Speed effect, the effect works only when the player is sprinting.