

/fill diamond_block ~-5 ~ 11 1 replace Replaces the area under the player with diamond blocks.data_tags: Specifies additional data to apply to the block.destroy replaces all blocks by mining them first.hollow will fill the inner edge and clear all blocks inside.outline will fill blocks on only the inner edge of the rectangle.replace replace_block_type will only fill blocks that match the replace_block_type.oldBlockHandling: Different replacement algorithms:.width height: How many blocks rightward (width) and upward (height) to fill.x y: The x and y coordinate to start filling from.block_type: The identifier for the block to fill./explode 5 ~ ~-3 Performs a size 5 explosion, 3 blocks below the player.įills a region of blocks with the specified block typeįill block_type x y width height )|keep|outline|hollow|destroy]./explode 10 Performs a size 10 explosion at the player's location./enchant LuckOfTheSeaII Enchants the held item with the Luck of the Sea 2 enchantment./enchant Unbreaking4 Enchants the held item with the Unbreaking 4 enchantment.

enchantment_id: See list of enchantment ID's here: Enchantments./difficulty normal Sets the game to normal difficultyĪpplies an enchantment to the player's equipped item.This command clears console messages from the screen. : Whether the original blocks are kept.xDest yDest: The x and y coordinate to clone to.width height: How many blocks rightward (width) and upward (height) to clone.x1 y1: The x and y coordinate to start cloning from.clone x1 y1 width height xDest yDest block_mask Removes all rainbow wool from the inventoryĬlones part of the world and pastes it somewhere else, with data tags for blocks.Does not remove any items, but returns a message saying "Found a match" if the player has wool in their inventory.data_tags: The tags the item to be removed has.damage: The amount of damage the item to be removed has undergone.itemname: The quantity of items to be removed.itemname: The identifier for the item to remove.Removes items from the inventory, but also returns a message if the specified item is present. It allows players to permanently enable or disable cheats in their world. This command will only exist if the world was created prior to 1.26.5 (when cheats were added to the game). Shows the seed number of the current world. This command is always available, even if cheats are disabled. Note that is an optional modifier that can be added to coordinates, which makes it relative the player's location. For example, in /lightning x y], you can simply omit the X and Y parameters like so: /lightning. When writing a command, you can omit the parameters. Parameters between the brackets is an optional parameter.For example, in /gamemode, you can write /gamemode survival, /gamemode creative, or /gamemode adventure.

