Ok never used these Soo,how do I? I've tried a few things but no luck. Wanna replace sand with grass.
Commentaires
qualityvote22025-11-25 21:48
* Upvote this comment if this is a good quality post that fits the purpose of r/Minecraft
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
detectivelokifalcone2025-11-25 21:49
It's the Pocket edition beta version forget to add that
Melo_0212025-11-25 21:52
/fill x1 y1 z1 x2 y2 z2 glass replace sand
In the numbers, replace with the colors you want the sand to be.
/execute at @s run fill ~-100 ~-100 ~-100 ~100 ~100 ~100 glass replace sand
I also do this, and if you don't understand, this one is much better. You just have to put the block command with this command and then activate it with redstone. Within a radius of 100 blocks, it will replace the glass.
I hope this helped!
detectivelokifalcone2025-11-25 21:58
Hmm it might. If I do /fill xgrass zgrass ygrass zgtas will that work?
Melo_0212025-11-25 23:04
No, that won’t work. The /fill command needs two sets of coordinates and valid block names. The format is:
/fill x1 y1 z1 x2 y2 z2 block replace block
You can’t just write random words like ‘xgrass’ or ‘zgtas’. You need real coordinates and real block IDs
detectivelokifalcone2025-11-25 23:19
Idk this ok. This is a learning curve
Melo_0212025-11-26 09:00
Good luck with yours command blocks
detectivelokifalcone2025-11-26 09:04
Ya currently not a lot of success but still trying
MissLauralot2025-11-25 23:11
The part of their explanation about the color of glass wasn't clear so let's go back a step.
`/fill x1 y1 z1 x2 y2 z2 grass_block replace sand` will replace sand with grass blocks in the volume from one corner to another. x1 y1 z1 are coordinates of one corner and x2 y2 z2 are the co-ords of the other corner.
Bedrock seems to require either an empty set of square brackets (where an optional blockstate would go) or a number after the new block. I'm a Java player so I'm going off [the wiki](https://minecraft.wiki/w/Commands/fill#Examples) for that part.
The tilde ~ is for setting a coordinate relative to executing entity (usually the player). ~-10 ~-10 ~-10 ~10 ~10 ~10 is a volume that covers 10 blocks from the executer in all six directions, for example.
detectivelokifalcone2025-11-25 23:20
Ok that's a little better actually let me go try a few things
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
In the numbers, replace with the colors you want the sand to be.
/execute at @s run fill ~-100 ~-100 ~-100 ~100 ~100 ~100 glass replace sand
I also do this, and if you don't understand, this one is much better. You just have to put the block command with this command and then activate it with redstone. Within a radius of 100 blocks, it will replace the glass.
I hope this helped!
/fill x1 y1 z1 x2 y2 z2 block replace block
You can’t just write random words like ‘xgrass’ or ‘zgtas’. You need real coordinates and real block IDs
`/fill x1 y1 z1 x2 y2 z2 grass_block replace sand` will replace sand with grass blocks in the volume from one corner to another. x1 y1 z1 are coordinates of one corner and x2 y2 z2 are the co-ords of the other corner.
Bedrock seems to require either an empty set of square brackets (where an optional blockstate would go) or a number after the new block. I'm a Java player so I'm going off [the wiki](https://minecraft.wiki/w/Commands/fill#Examples) for that part.
The tilde ~ is for setting a coordinate relative to executing entity (usually the player). ~-10 ~-10 ~-10 ~10 ~10 ~10 is a volume that covers 10 blocks from the executer in all six directions, for example.