How do I replace spruce leaves with oak leaves in Minecraft?



  • I'm unhappy with the way I built something in Minecraft, and want to replace the spruce leaves with oak leave to match the rest of the build, but I do not know how to. Can someone tell me what the block data is?



  • /fill command fills a region with some blocks or replaces specific blocks with other ones. Especially for your case, execute this:

    /fill ~ ~ ~ ~10 ~10 ~10 leaves 0 replace leaves 1

    Where ~ ~ ~ is the first position of the region, and ~10 ~10 ~10 is the opposite position of the previous one. leaves 0 and leaves 1 are for oak and spruce leaves respectively. https://minecraft.fandom.com/wiki/Commands/fill#Syntax .


    Block data is needed for differing various block variations from each other. For example, whether waterlogged the block or not. You should check block data for each block separately. https://minecraft.fandom.com/wiki/Leaves#Data_values .



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2