MCStacker/tips/en/setblock.Handling.txt

11 lines
1.5 KiB
Plaintext

Specifies how to handle the block change. Must be one of:<br>
<UL>
<li><b>destroy</b> - Replaces all blocks (including air) in the fill region with the specified block, dropping the existing blocks (including those that are unchanged) and block contents as entities as if they had been mined with an unenchanted diamond shovel or pickaxe. (Blocks that can only be mined with shears, such as vines, will not drop; neither will liquids.)</li>
<li><b>hollow</b> - Replaces only blocks on the outer edge of the fill region with the specified block. Inner blocks are changed to air, dropping their contents as entities but not themselves. If the fill region has no inner blocks (because it is smaller than three blocks in at least one dimension), acts like replace.</li>
<li><b>keep</b> - Replaces only air blocks in the fill region with the specified block.</li>
<li><b>outline</b> - Replaces only blocks on the outer edge of the fill region with the specified block. Inner blocks are not affected. If the fill region has no inner blocks (because it is smaller than three blocks in at least one dimension), acts like replace.</li>
<li><b>replace</b> - Replaces all blocks (including air) in the fill region with the specified block, without dropping blocks or block contents as entities. Optionally, instead of specifying a data tag for the replacing block, block ID and data values may be specified to limit which blocks are replaced (see replaceTileName and replaceDataValue below)</li>
</UL>