Sneaking

Sneaking (or crouching) is a gameplay feature that prevents players from falling off of blocks and helps them hide from mobs, among other useful features.

Controls
$$ with keyboard controls, the control for sneaking defaults to. The player sneaks as long as the key is held down. $$ with touch controls, sneaking is toggled by double-tapping and toggled back by double-tapping. $$ with gamepad controls, sneaking is toggled by pressing on. Certain actions like opening the inventory can cancel sneaking, even if the player is still holding down the key for sneaking. This never happens on touch devices as the player doesn’t need to hold down the sneak key.

Effects
While sneaking:


 * Players are prevented from walking off edges if the difference in height between the two surfaces is $5/8$ of a block or higher, which makes sneaking useful for building horizontally outward over empty space.
 * The player can still dismount blocks while sneaking by jumping over the block's edge.
 * A sneaking player still falls if the block beneath the player's feet is destroyed.
 * The player moves slower, at a speed of about 1.31m/s.
 * If two movement keys are pressed at once, the player sneaks diagonally at a faster 1.8 m/s.
 * Hostile mobs do not become aware of the player until within 80% of the usual detection range.
 * Eye level moves down $1/8$ of a block, and the character model bends over slightly. This can be seen in.
 * The player's hitbox height reduces from its usual 1.8 blocks to 1.5 blocks.
 * Players cannot hear their own footstep sounds.
 * In multiplayer, a sneaking player's name tag appears fainter than normal, invisible to players more than 32 blocks away, and invisible through solid blocks.
 * If players are on a ladder or vines, they do not move down. This gives the impression of holding on to that specific ladder rung or vine. Mining speed is still decreased by a factor of 5.
 * Pressing prioritizes using a held item over interacting with a targeted block. For example, this allows placing a hopper on a chest, a torch on a furnace, or redstone on a command block.
 * Players are able to interact with a horse (donkey or mule inventories, also) when pressing control while holding the  key.
 * The player moves downward on scaffolding.
 * The player can't fall through a scaffolding block hanging in mid-air.
 * The player moves downward in powder snow if they are wearing leather boots.
 * Without leather boots, the player simply sinks into powder snow without control.
 * Sneaking prevents the player from bouncing on slime blocks, resulting in fall damage.
 * Magma blocks do not cause harm.
 * Redstone ore does not light if stepped on by a sneaking player.
 * Sneaking causes a player to sink faster when submerged in water or lava.
 * Sculk sensors and wardens do not detect sneaking players, even if they jump while sneaking.
 * Sculk sensors can still detect players that stand on top of them, even when they are sneaking.
 * The warden can still "sniff out" a sneaking player's location and slowly approach them.
 * $$, if sneaking is set to "Toggled" under Accessibility Settings, the player keeps sneaking when interacting with blocks that have a UI if the player was sneaking when they interacted with the block.
 * $$, sneaking is used to block attacks while holding a shield.

Sneaking does not affect:
 * Jump height: players can still jump up to the same heights and at the same vertical speed. Horizontal jump speed and distance is decreased, however.
 * Farmland and crops: they are still trampled when jumped upon.

Trivia

 * While flying in creative mode, holding the and sneak buttons simultaneously causes the player to remain at the same height.
 * $5/8$, the player uses a sneaking stance when flying downward. The player can also place blocks on chests, furnaces and other utility blocks in this stance, suggesting the player is actually in a sneaking mode. $$, the player no longer enters sneak mode when flying downward, but they still don't interact with blocks by right-clicking.
 * $$, the player can bridge out by looking at the air block they are placing on, though it must be adjacent to an existing block. This works even if the player is not sneaking.
 * $$, the player must travel to the edge of the block (usually by sneaking) and look backward to place the next block.
 * If the player begins to sneak while sprinting, they sneak faster than someone who sneaks without sprinting.