To fill a region with a type of block.
Minecraft replace block command. This minecraft tutorial explains how to use the fill command to change water to air with screenshots and step by step instructions. Replace 0 35 and replace 0 35 0 are the same in the. 1 syntax 2 arguments 3 result 4 output 5 examples 6 history java edition fill from to block destroy hollow keep outline replace the fill command also has an optional alternate syntax when using the replace option. Replace 35 0 0 will affect only white wool blocks into air.
X y z commandposition in java edition it must be a block position composed of x y and z each of. Fills all or parts of a region with a specific block. Fill from to block replace newtilename in minecraft java edition pc mac 1 8 1 9 1 10 1 11 and 1 12 there are 2 syntaxes for the fill command. To replace a block with another item.
X y z tilename. Replaceitem block position slot container slotid itemname amount data components to replace an entity s item with another. In minecraft you can use the fill command to replace a specific type of block with another. The old block will be dropped and can then be collected as if it was mined with a pickaxe or shovel.
Fill from to block replace filter bedrock edition fill from. It tells the command to replace the block including air. Replaceitem command in minecraft windows 10 edition. Changes a block to another block.
To replace the items in the bottom right slot of a single chest two block above with four spruce saplings. It tells the command to replace the block including air. If the input block ids does not include specific secondary ids it will affect all the primary blocks. In minecraft windows 10 edition the replaceitem command has different syntaxes depending on what you would like to do.
To replace one type of block in a region with another type of block. 1 syntax 2 arguments 3 result 4 output 5 examples 6 see also 7 history java edition setblock pos block destroy keep replace bedrock edition setblock position. X y z tilename. Replace 35 0 will turn all wool blocks into air.
Fill x1 y1 z1 x2 y2 z2 block datavalue oldblockhandling datatag. Non specific output blocks have a default secondary id of 0. In this case we want to replace all water blocks with air blocks within a fill range. This is the default behavior.
X y z to.