Stairs

Stairs are a block that allows mobs and players to change elevation without jumping.

Obtaining
Stairs can be crafted, or can be found in villages, strongholds, nether fortresses, and end cities.

Breaking
Wood stairs drops themselves as items when broken with any tool, or with no tool, but an axe is fastest. Non-wood stairs drop themselves as items only if broken with a pickaxe.

Crafting
Wood stairs must be crafted entirely from one type and color of wood, and they retain the style of that wood's type and color.

Natural generation
Oak wood and cobblestone stairs generate naturally in plains villages, and sandstone stairs generate naturally in desert villages.

Cobblestone stairs also generate naturally in strongholds, as well as stone brick stairs.

Nether brick stairs generate naturally in nether fortresses.

Spruce wood stairs generate naturally in witch huts and in igloos.

Purpur stairs generate naturally in end cities.

Walking
Walking up stairs is faster than jumping up the same distance. It also only costs 0.01 exhaustion from the player's hunger bar per horizontal meter walked on a stairway, versus 0.2 exhaustion per jump.

Placing
To place stairs, a stairs item while pointing at a surface facing the space the stairs should occupy. Stairs will place with the half-block side closest to the player.

Stairs can be placed either right side up or upside-down:
 * Pointing at a block top or the bottom half of a block side will place the stairs right side up.
 * Pointing at a block bottom or the top half of a block side will place the stairs upside-down.

Stairs will change their shape to join with adjacent stairs (of any material):
 * When a stairs' half-block side is adjacent to the side of another stairs, the stairs' full-block side will wrap into an "L" shape to join the other stairs (it creates an "inner corner").
 * When a stairs' full-block side is adjacent to the side of another stairs, the stairs' full-block side will shorten to join only the other stairs' full-block side (it creates an "outer corner").

Right side up stairs won't join with upside-down stairs and vice versa.

Fuel
Wooden stairs can be used as a fuel in furnaces, smelting 1.5 items per block.

Data values
Stairs are defined by their ID and block data. Stairs also have a block state which is expected to replace the functionality of block data in a future version.

ID
A stairs' ID specifies its material:

Block data
A stairs' block data specifies its facing and whether it is upside-down: