본문 바로가기

카테고리 없음

Command Block Commands

Contents List of Commands abilitySets a player's ability./ability abilities Legal values for abilities are:. mute - Permits or denies player's chat options. worldbuilder - Permit or denies player's ability to place blocks. mayfly - Permits or denies player's ability to independently fly.This command requires Education Edition features enabled.alwaysdayLocks and unlocks the day-night cycle./alwaysday Sets dodaylightcycle to false, and sets to 5000.

This is the same as the Always Day slider in the Game Settings. The command can also be given as daylock.clearClears the Player's inventory./clear. player name or target selector.

Defaults to the player executing the command. valid item name.

Defaults to all items in the player's inventory. if specified, only clears items with this data value. maximum number of items to clear.cloneCopies blocks from one place to another./clone maskMode cloneMode tileNameClones blocks from the cube defined by begin and end into the destination. The maskMode defines how to handle destination blocks, and cloneMode defines handling of source. If mask Mode is filtering, the tileName specifies the block to filter on.Legal values for maskMode are:.

Commands

filtered – Only blocks matching tileName is copied. masked – Only non-air blocks are copied.

replace – All blocks are copied as-is. This is the default.Legal values for cloneMode are:. force – Force moving of blocks even if regions overlap. move – Move only non-air blocks, and replace them with air-blocks.

Command Block Commands Ps4

If filtering is done, this only applies to the filtered blocks. normal – Do not force or move blocks from source region. This is the default.See also and commands.connectConnects to a server in-game./connect.

Note: URi is as the code appears in the chat. It is unknown if this is a bug.deopRevokes operator status for one or more players./deop See also, for giving this status.difficultyChanges the./difficulty intValues for int are: '0' for peaceful; '1' for easy; '2' for normal; '3' for hard;effectGives or removes a from a player./effect seconds: int amplifier: int hideParticles: boolenchantplayer(s) held item./enchant level: int/enchant level: intEnchant the item the targeted player(s) are holding, with the name (or numbered) enchantment at a given level. Maximum level for a given encha ntment can't be bypassed.executeExecutes a command which can be linked to a target or a condition related to another block, as tested in the command./execute /execute /execute The command in all examples can be any command (including the execute command it self), and are relative to the targeted player(s)/entities. In the latter two examples, the tile notation is used relative to the position of the origin target.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.fillFills a region with a given block/fill tileData:int oldBlockHandlingFills the entire cube defined by from and to with the block named tileName (optionally specifying a tileData value). The oldBlockHandling defines how to handle existing blocks in the region.Legal values for oldBlockHandling are:.

destroy – Replace all blocks, drops blocks and contents as if mined with unenchanted diamond pickaxe or shovel. hollow – Replace only the blocks on the outer edge of the region. Drops all inner blocks as if they were mined, and replaced them with air blocks. keep – Only replace the air blocks in the fill region with the specified block. outline – Only replace the outer edge of region with specified block. Leave all inner blocks as they were.

Command Block Commands

replace – Replace all blocks, with no dropping of current blocks. This is the default.See also and commands.functionRuns commands found in the corresponding function file./function /function gamemodeChanges gamemode for a player./gamemode player: target/gamemode player: targetUsing 'c', 'creative', 's', 'survival', 'a', 'adventure', '0', '1', or '2', the gamemode for the targeted player can change.gameruleSets or queries a game rule value./gamerule /gamerule Used to change of game mechanic specified by rule.