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.

Purpur stairs generate naturally in end cities.

Usage
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.

Walking up stairs is faster and takes less of a toll on a player's hunger bar than jumping up.

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: