Updated:
Yellow Wool Slab: item ID and commands
The ID for Yellow Wool Slab is minecraft:yellow_wool_slab. It is a placeable block, so the same ID works in /give, /setblock and /fill. It was added in Java 26.3.
Basic data
| Name | Yellow Wool Slab |
|---|---|
| ID (Java Edition) | minecraft:yellow_wool_slab |
| Type | Block (also an item) |
| Java versions | Java 26.3 and later |
| Bedrock 26.52 | Same ID works (tested on a server) |
Commands you can copy
Java Edition
Give one
/give @p minecraft:yellow_wool_slab 1Place at your feet
/setblock ~ ~ ~ minecraft:yellow_wool_slabFill a 5×5 floor
/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:yellow_wool_slabRemove from inventory
/clear @p minecraft:yellow_wool_slabOpen this command in the Give generator
Bedrock Edition
Give one
/give @p yellow_wool_slab 1Place at your feet
/setblock ~ ~ ~ yellow_wool_slabRemove from inventory
/clear @p yellow_wool_slabHow to make it
Crafting table
Crafting table (any arrangement)
Unlock the recipe
/recipe give @p minecraft:yellow_wool_slabRecipes that use it
Recipes come from the official Java 26.3 data. Some ingredients differ on Bedrock.
Block states
| State | Values | Default |
|---|---|---|
type | top, bottom, double | bottom |
waterlogged | true, false | false |
Place it with a state
/setblock ~ ~ ~ minecraft:yellow_wool_slab[type=top]Bedrock uses different state names and syntax (for example ["facing_direction"=2]).
Version notes
It was added in Java 26.3. Older versions report that the ID is unknown.
Java 1.20.5 and later write extra item data in [ ] (components); 1.20.4 and earlier use { } (NBT). A plain /give with only the ID is the same in both.
Questions
What is the ID for Yellow Wool Slab?
It is minecraft:yellow_wool_slab. In commands you can also write yellow_wool_slab without minecraft:.
Why does the command turn red?
The ID is misspelled, or it does not exist in that version yet. Yellow Wool Slab works in Java 26.3 and later. The Command Error Doctor can check it.