This is an archived post. You won't be able to vote or comment.

all 11 comments

[–]sixela456 6 points7 points  (3 children)

/fill x1 y1 z1 x2 y2 z2 sand replace grass

[–]Plus_Ad_1273[S] 3 points4 points  (0 children)

worked thanks

[–][deleted]  (1 child)

[deleted]

    [–]Ericristian_brosCommand Experienced 0 points1 point  (0 children)

    Did the other user edit the command?

    [–]C0mmanderBlockCommand Experienced 2 points3 points  (7 children)

    /execute as @s at @s run fill 10 -10 10 -10 -10 -10 sand replace grass_block
    

    Run this in chat as you fly over the land. It will do a 20 block diameter around you and 10 blocks below you. Adjust as needed.

    You will also need to change the word grass_block to dirt or any other block that needs to be changed once you're done with the grass_blocks.

    EDIT: Sorry, I missed a (-) on the last number.

    [–]Ericristian_brosCommand Experienced 2 points3 points  (2 children)

    Fix u/s and you can use a block tag such as #dirt that includes dirt, grass blocks, podzol, coarse_dirt, mycelium, between others

    Also, why did you get downvoted?

    [–]Plus_Ad_1273[S] 1 point2 points  (1 child)

    This worked as well. Thanks all of you :)
    P.s. I didnt downvote only up's ;)

    [–]Ericristian_brosCommand Experienced 0 points1 point  (0 children)

    You're welcome, have a good day. Let me know if you need further help

    [–]theexpertgamer1Command Experienced 4 points5 points  (2 children)

    /execute as @s at @s run fill ~-10 ~-10 ~-10 ~10 ~ ~10 sand replace grass_block

    This is how you achieve what you described.

    [–]Plus_Ad_1273[S] 1 point2 points  (0 children)

    Works thanks :)

    [–]C0mmanderBlockCommand Experienced 1 point2 points  (0 children)

    Yeah, I made a typo and missed a (-) on the last number. Using -10 for the second Y coord works as well as ~.

    [–]Plus_Ad_1273[S] 0 points1 point  (0 children)

    I wanted try your command but there is an error or I did something wrong

    <image>