mojira.dev
MC-129867

"replace" function in the /fill and /setblock command missing tags

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

  1. #minecraft:grass does not exist. Use minecraft:grass_block instead.

  2. The /setblock command does not have an extra argument after replace, as opposed to the /fill command. See here.

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.

Oh, seems useful. I'm generally quite confused about the new commands' syntax..

AntiMatter_NVF

(Unassigned)

Unconfirmed

Minecraft 18w20c

Retrieved