Minecraft – How to use the /fill command with black wool or oak wooden planks

minecraft-commandsminecraft-java-edition

I would like to know how to use the /fill command to fill black wool. I know how to use the /fill command, but I don't know how to make it fill black wool. Also how do I use the /fill command for oak wooden planks?

Best Answer

For black wool:

/fill X1 Y1 Z1 X2 Y2 Z2 wool 15

The value after the block type is its data value, which is 15 for back wool.

For oak planks

/fill X1 Y1 Z1 X2 Y2 Z2 planks