All rules except keepinventory are set False by default.Ĭan disable command block output appearing in chat.Ĭan disable all command blocks in a world.Ĭan disable fire spread and natural extinguish.Ĭan disable message box options upon player death.Ĭan disable player insomnia timer and corresponding phantom spawning.Ĭan disable drops when blocks are broken.Ĭan limit number of commands run from a function mod file.Ĭan allow player to not drop their inventory after death.Ĭan limit number of commandblocks that can be chained.Ĭan prevent mobs from interacting with blocks or dropped items.Ĭan disable player health regeneration over time. Used to change of game mechanic specified by rule. Using 'c', 'creative', 's', 'survival', 'a', 'adventure', '0', '1', or '2', the gamemode for the targeted player can change. Runs commands found in the corresponding function file. replace – Replace all blocks, with no dropping of current blocks.outline – Only replace the outer edge of region with specified block.keep – Only replace the air blocks in the fill region with the specified block.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.
Note: URi is as the code appears in the chat.normal – Do not force or move blocks from source region.If filtering is done, this only applies to the filtered blocks. move – Move only non-air blocks, and replace them with air-blocks.force – Force moving of blocks even if regions overlap.
worldbuilder - Permit or denies player's ability to place blocks.