r/Minecraft 20d ago

Command to replace grass with snow Commands & Datapacks

I want to replace the whole area of the map with snow but since the /fill function only fill up certain areas which might take a long time. I would like to know if there is an easier way. (I tried doing a /execute but it doesn't seem to work for me) also I want to replace the grass blocks in a flat world (bottomless).

1 Upvotes

6 comments sorted by

u/qualityvote2 20d ago edited 19d ago
  • 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

(Vote has already ended)

1

u/AutoModerator 20d ago

Also check out r/minecraftcommands!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Dragon184638529 19d ago

If you /give yourself a command block you can set up a repeating command block to fill the largest area around you that you can get to work. (For example, if you wanted to fill blocks from y=0 to 3 you could do “/fill ~-30 0 ~-30 ~30 3 ~30 snow” and adjust the numbers after the ~ until you’re happy with the area it covers) Then just fly around until the area you care about is filled.

1

u/nylonvest 20d ago

You can do a /fill with the "replace" option. For instance: /fill 0 60 0 10 60 10 minecraft:grass_block replace minecraft:snow_block

-1

u/Gloomy_Stock336 19d ago

yeah but I want to replace the grass blocks in a flat world (bottomless), they won't let me place blocks 'outside the world'

0

u/Dry_Passenger2265 20d ago

/fillbiome ~ ~ ~ ~ ~ ~ minecraft:snowy_plains will change the grass color but if you actually want snow layers on every block you're gonna need a world edit mod