Slab

Slabs are blocks that allow the player to change elevation without jumping. They are not as compact as stairs, requiring twice the horizontal space for an equivalent change in elevation. Unlike stairs, slabs do not stop the player's sprinting, which makes vertical elevation equally quick and horizontal speed twice as fast as stairs while sprinting on slabs. Upside-down slabs occupy the top half of their block space rather than the bottom half. To place a slab upside-down, right-click on the bottom of a "ceiling" block, which can be removed after the slab has been placed.

All six types of slab have the same data values; like wood and colored wool, they are differentiated by their damage values: stone slabs have a damage value of 0, sandstone slabs are 1, wooden slabs are 2, cobblestone slabs are 3, bricks are 4, and stone bricks are 5. Damage value 6 is occupied by another, identical stone slab, but with a slightly different double slab form.

As of snapshot 12w17a, single and double wooden slabs will burn down, but previously placed wooden slabs are unaffected.

Occurrence
Stone slabs can be found naturally in NPC Villages lining the roof of a blacksmith shop and inside some of the buildings where they form counters. They are also found in Strongholds where they are used in some of the stairs, ledges and torch pillars. Sandstone slabs can be found naturally in randomly generated desert wells.

Crafting
Slabs can be made from three wooden planks or three stone, cobblestone, sandstone, brick, or stone brick blocks, producing six slabs per crafting operation. There also is a stone slab which only uses the top texture of the normal stone slab, but it can't be crafted. The damage value is 6.

Behavior
Like other partial blocks, slabs are treated as a whole block with other blocks, such as dirt, stone, and glass, and liquids. Two slabs of the same type (e.g. two stone slabs) can be placed one on top of the other to make a single full-size block, but different slab types cannot be mixed in this way.

Sandstone, wooden, and cobblestone double-slabs look exactly the same as their full block counter-parts, but take a longer time to break and drop two slabs.

As of 12w17a, wooden slabs have to be collected with an axe and they are affected by fire.

An unusual property of slabs is that they are non-solid to redstone. This allows one to hide the redstone wiring in a slab covered channel, while still being able to connect to the wire on the side of the slabs.



Mobs can spawn on top of upside down slabs as of 12w26a, they can spawn on double slabs.

Due to the way blast rays propagate from an explosion, slabs provide extremely effective absorption to explosions taking place directly on top of them. Specifically, this is because explosive entities will be lower in elevation when they explode on top of slabs than they would otherwise be on an ordinary block. Although the few slab(s) directly under the explosion will absorb the full force of the blast (with a resistance of 30) as usual, the propagation of damage to the sides will be greatly reduced. If source of the explosion is elevated for any reason at the time of the blast, this protective quirk is lost.

Dirt slab


Before stone slabs were added to 0.26, Notch ran a test of dirt slabs. They were never added to the actual game and were only mentioned once. They replaced all dirt blocks and did not grow grass on top. The words "Half-sized blocks (all dirt tiles, so it gets kinda slow)" were the only words Notch ever said about them.

Bugs

 * Sandstone slabs do not break as fast as normal sandstone blocks do.
 * Sprinting on slabs always makes gray particles, even if one is sprinting on wooden, sandstone or brick slabs.
 * Upside-down slabs are dark when there is a block above it. A normal block beside will emit some light, but the upside-down slab itself will emit no light.
 * Mining a wooden double slab with a pickaxe enchanted with Silk Touch will make it drop only one slab.
 * Due to lighting glitches with the slabs, wheat will be automatically harvested when surrounded by slabs of any kind.
 * Even though the slab is occupying the top half of the block (upside-down) you cannot place things like torches or beds on top.
 * Old wooden slabs are treated as stone slabs, as they need to be harvested with a pickaxe.
 * In creative, when you use pick block on any type of upside-down slab, you get a similar looking slab that places itself upside down no matter how you place it. This slab doesn't stack with its regular form.
 * In Pocket Edition, a wooden slab will appear as a stone slab while in the players hand.
 * Zombies and skeletons don't burn in sunlight if standing on single lower slabs.
 * In creative, when you pick block any double slab without the slab in your inventory, you'll get a stone slab back. If you have any slab in your inventory, you'll scroll over to the first slab from the left, even if it's not the correct type. Note this doesn't happen when block picking single slabs.