How do I replace spruce leaves with oak leaves in Minecraft?
briley last edited by
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?
/fillcommand 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
~ ~ ~is the first position of the region, and
~10 ~10 ~10is the opposite position of the previous one.
leaves 1are 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 .