mojira.dev
MC-66531

/fill replace syntax is not updated

The syntax for /fill in the help menu (/help fill or just /fill) will show:

/fill <x1> <y1> <z1> <x2> <y2> <z2> <TileName> [DataValue] [oldBlockHandling] [dataTag]

However, when [oldBlockHandling] is replace, you can optionally choose a block where [dataTag] would be which would only replace that block type with the block in <TileName>. The help syntax for /fill does not accommodate for that optional feature and there should be a separate syntax for /fill replace:

/fill <x1> <y1> <z1> <x2> <y2> <z2> <TileName> [DataValue] [oldBlockHandling] [replacedTile]

or

/fill <x1> <y1> <z1> <x2> <y2> <z2> <TileName> [DataValue] replace [replacedTile]

Linked issues

Attachments

Comments 3

Note: This bug and another bug that I posted, MC-66920, are greatly linked and should both be seen together.

This will be updated once I find time to fix the behavior to be consistent for all types of blocks. Right now block entity blocks can't be replaced, while all other blocks can.

Arran O'Sullivan

michael

Confirmed

/fill, command, syntax

Minecraft 14w32d, Minecraft 1.8

Retrieved