Skip to content
[/craft]
Petrified Oak Slab

Fill Petrified Oak Slab — Java Edition

Verified for Java 26.2

The /fill command for Petrified Oak Slab in Minecraft Java Edition. Java Edition requires the minecraft: prefix and supports all five fill modes including outline.

Default (fill region)

Java/fill ~ ~ ~ ~10 ~5 ~10 minecraft:petrified_oak_slab

Hollow (shell only)

Java/fill ~ ~ ~ ~10 ~5 ~10 minecraft:petrified_oak_slab hollow

Keep (fill only air)

Java/fill ~ ~ ~ ~10 ~5 ~10 minecraft:petrified_oak_slab keep

Destroy (drop items)

Java/fill ~ ~ ~ ~10 ~5 ~10 minecraft:petrified_oak_slab destroy

Outline (border only)

Java/fill ~ ~ ~ ~10 ~5 ~10 minecraft:petrified_oak_slab outline

Java Edition fill syntax notes

  • Block must use minecraft: prefix
  • Coordinates use relative notation: ~ = current position, ~10 = 10 blocks away
  • Java Edition supports outline mode (Bedrock does not)
  • Maximum fill volume is 32,768 blocks (32×32×32)

Frequently asked questions

What is the Java Edition fill command for Petrified Oak Slab?
The basic command is /fill ~ ~ ~ ~10 ~5 ~10 minecraft:petrified_oak_slab. This fills an 11×6×11 region starting from your position. Adjust the coordinates to change the size and shape.
What fill modes does Java Edition support?
Java Edition supports replace (default), hollow, keep, destroy, and outline. The outline mode fills only the border of the region, which Bedrock Edition does not support.
How do I fill a hollow structure in Java Edition?
Use the hollow mode: /fill ~ ~ ~ ~10 ~5 ~10 minecraft:petrified_oak_slab hollow. This fills only the outer shell, leaving the interior empty — useful for building rooms.
All variants →Bedrock Edition →Browse all Fill commands →