Problem with the /fill and /setblock command
The "replace" function is missing a lot of tags (block values) in the /fill command (even minecraft:water & minecraftz:grass) and it's pretty much non-existant in the /setblock command.
Attachments
Comments 4
Thanks for the help! Now I get what the replace in /setblock means. But then why is autofill suggesting that I put a hash '#' here:
/fill 137 67 -147 137 67 -147 minecraft:sand replace #minecraft:grass_block [doesn't work]
/fill 137 67 -147 137 67 -147 minecraft:sand replace minecraft:grass_block [works]
The values preceded with #
are a new thing called "Tags", with which you can group multiple blocks together. To read more about this feature, visit the Minecraft wiki.
The normal block IDs just work like before, and don't need to be preceded with a hashtag.
#minecraft:grass
does not exist. Useminecraft:grass_block
instead.The
/setblock
command does not have an extra argument afterreplace
, as opposed to the/fill
command. See here.