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. Players will also inflict more knockback on the first hit when sprinting.

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

Mobs that can sprint:
 * Ocelots
 * Cats
 * Iron golems
 * Wither skeletons
 * Endermen
 * Villagers
 * Vindicators

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 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 speed potion of level II or higher.

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 eating 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. It is also possible to jump 5 blocks when jumping out of the 2-block high ceiling.
 * 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.