Pixel art illustration of a flat oak wooden slab with visible wood grain
Minecraft Java Item ID

Oak Slab ID

Oak slabs are half-height wooden blocks crafted from oak planks. They are used for smooth floors, paths, and detailing.

✓ Verified for Java Edition 1.21.11
Namespaced item ID minecraft:oak_slab

Oak Slab Item Facts

Maximum stack64
Available inSurvival and Creative
Shared ID, data value 0 (Java 1.12.2 and earlier)126

Shared ID, data value 0 (Java 1.12.2 and earlier): Reviewed for Java Edition 1.12.2 and earlier.

Give Command for Oak Slab

Copy the current Java Edition command, or open the generator to change the player and quantity.

/give @p minecraft:oak_slab 1

Customize this command → View crafting recipe →

Historical command for Java 1.12.2 and earlier

Modern namespaced IDs are recommended. This numerical form is only for old Java releases.

/give @p 126 1

Give command syntax by version

Java 1.13+
/give @p minecraft:oak_slab 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 126 1 0
Numerical ID + data value
Bedrock Edition
/give @p minecraft:oak_slab 1
Same namespaced ID (namespace optional)

Rows appear only when the underlying value is verified: the Java 1.8–1.12.2 row requires a reviewed historical numerical ID, and the Bedrock row appears only when this exact namespaced ID exists in the Bedrock registry.

How to Get Oak Slab

Crafting Recipe

Oak PlanksOak PlanksOak Planks

Crafting table recipe — makes 6 × Oak Slab.

Prefer commands? Jump back to the give command matrix above to get Oak Slab instantly.

What Can You Craft With Oak Slab?

Oak Slab is a crafting ingredient in 5 reviewed recipes:

Build With Oak Slab

minecraft:oak_slab is in the reviewed block catalog. Open a command tool with this ID already selected, then adjust the coordinates in the tool.

Need a different material? Browse Minecraft Block IDs or compare the related blocks below.

Oak Slab Command Examples

  • Give 1 to nearest player: /give @p minecraft:oak_slab 1
  • Give 1 to yourself: /give @s minecraft:oak_slab 1
  • Give to a specific player: /give PlayerName minecraft:oak_slab 1
  • Clear from inventory: /clear @p minecraft:oak_slab

Oak Slab FAQ

What is the item ID for Oak Slab?

The item ID for Oak Slab is minecraft:oak_slab. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.

What is the numerical ID for Oak Slab?

Oak Slab has the historical numerical ID 126 with data value 0, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:oak_slab instead.

How do I give myself Oak Slab in Minecraft?

Open the chat window and run /give @p minecraft:oak_slab 1 to give the nearest player one Oak Slab. Replace @p with a player name to target someone else.

How many Oak Slab can stack in one slot?

Oak Slab stacks up to 64 per inventory slot.

How do you craft Oak Slab?

Oak Slab is crafted on a crafting table with 3 oak planks, which yields 6 Oak Slab.

What can you craft with Oak Slab?

Oak Slab is used to craft Chiseled Bookshelf, Lectern, Daylight Detector, Composter, and 1 more recipe.

Sources and Data Review

Item facts were reviewed for Java Edition 1.21.11 on .

Related Building Blocks

Item ID: minecraft:bookshelf
Item ID: minecraft:stone
Item ID: minecraft:granite
Item ID: minecraft:polished_granite
Item ID: minecraft:diorite
Item ID: minecraft:polished_diorite
Item ID: minecraft:andesite
Item ID: minecraft:polished_andesite