To use a WorldEdit command in Minecraft, you need to prefix it with two forward slashes (//), unlike regular Minecraft commands that use only one (/).
Here's a breakdown:
- Regular Minecraft Commands: Begin with
/
. Example:/summon Pig
- WorldEdit Commands: Begin with
//
. Example://sphere stone 20
(This creates a stone sphere with a radius of 20 blocks.)
Using WorldEdit Commands: A Simple Guide
-
Install WorldEdit: Ensure you have the WorldEdit mod or plugin installed and configured correctly for your Minecraft version and server (if applicable).
-
Gain Permissions: You need to have the necessary permissions to use WorldEdit commands. On a single-player world with cheats enabled, you should have access. On servers, you'll typically need operator (op) status or specific WorldEdit permissions granted by an administrator.
-
Type the Command: Open the Minecraft chat window and type your desired WorldEdit command, remembering to start with
//
. -
Understand Common Commands: WorldEdit offers a wide variety of commands for creating, modifying, and manipulating the environment. Here are a few examples:
//set <block>
: Fills the selected area with a specified block. Example://set dirt
//replace <block1> <block2>
: Replaces all instances of<block1>
in the selected area with<block2>
. Example://replace stone grass
//copy
: Copies the selected area.//paste
: Pastes the copied area.//undo
: Undoes the last WorldEdit action.//redo
: Redoes the last undone WorldEdit action.
-
Learn More: Consult the official WorldEdit documentation or the WorldEdit wiki for a complete list of commands and their usage. These resources often provide detailed explanations and examples.
Example Scenario: Creating a Wall
Let's say you want to create a dirt wall.
- Use a WorldEdit selection tool (like the wooden axe provided with WorldEdit) to define the area where you want the wall to be. Left-click to set the first position, right-click to set the second.
- Type
//set dirt
in the chat. - WorldEdit will fill the selected area with dirt blocks, creating your wall.
By remembering to use //
at the beginning of your commands and familiarizing yourself with the available commands, you can effectively use WorldEdit to quickly and easily build and modify your Minecraft world.