Drops all inner blocks as if they were mined, and replaced them with air blocks. hollow – Replace only the blocks on the outer edge of the region.destroy – Replace all blocks, drops blocks and contents as if mined with unenchanted diamond pickaxe or shovel.
The oldBlockHandling defines how to handle existing blocks in the region. fill įills the entire cube defined by from and to with the block named tileName (optionally specifying a tileData value). The last variant, with the detect string equal to "detect", the command is only executed if the condition, as if it was given to testforblock, is matched. In the latter two examples, the tile notation is used relative to the position of the origin target. The command in all examples can be any command (including the execute command it self), and are relative to the targeted player(s)/entities. Maximum level for a given encha ntment can't be bypassed.Įxecutes a command which can be linked to a target or a condition related to another block, as tested in the /testforblock command. effect Įnchant the item the targeted player(s) are holding, with the name (or numbered) enchantment at a given level. Gives or removes a status effect from a player. Values for int are: '0' for peaceful '1' for easy '2' for normal '3' for hard Revokes operator status for one or more players.