Clipboard
;copy ;cut ;paste ;rotate ;flip ;scale ;size ;distrThe WorldEdit clipboard stores a temporary copy of a cuboid region so it can be pasted, transformed, inspected, reused as a pattern, or exported for later use.
The clipboard is temporary storage attached to the current player’s WorldEdit session.
It can store:
- Blocks from a cuboid selection
- Block states
- Air, unless it is excluded
- Entities, when requested
- The player’s relative position when the copy was created
- The original dimension and location
- Pending rotation, flip, and scale transformations
Creating a new copy replaces the previous clipboard contents.
Basic Workflow
The normal clipboard workflow is:
- Create a
cuboidorextendselection. - Stand at the point that should act as the structure’s reference.
- Copy or cut the selection.
- Move to the destination.
- Paste the clipboard.
Basic Clipboard Workflow
;sel cuboid
;pos1
;pos2
;copy -a
;paste Compatible Selections
A clipboard can be created directly from:
cuboidextend
The following selection modes cannot be copied directly:
spherecylconvex
For an irregular structure, select a cuboid around it and exclude air:
Copy an Irregular Structure
;copy -a Clipboard Reference Point
When a region is copied, WorldEdit records the player’s position relative to the minimum corner of the selection.
That relative offset is reused by a normal paste.
Conceptually:
Relative Offset
offset = minimum selection corner - player position
paste position = current player position + offset Stand in a consistent location before copying. For example, stand above a bridge when you want future pastes to place the bridge below you.
Use a paste preview when the reference point is uncertain:
Preview Paste Area
;paste -n
;drawsel Copy with ;copy
;copy stores the current cuboid selection without changing the world.
Copy Syntax
;copy [-a] [-e] [-m <mask>] Normal Copy
Copy Everything
;copy A normal copy includes air and excludes entities.
Exclude Air with -a
Copy without Air
;copy -a Use -a when the copied empty space should not erase blocks at the destination.
This is recommended for houses, trees, statues, decorations, and irregular structures placed over existing terrain.
Include Entities with -e
Copy Blocks and Entities
;copy -e Players are not included.
Filter the Source with -m
Copy Matching Blocks
;copy -m stone The mask filters blocks in the source selection.
When using a mask, combining it with -a is usually safer:
Filtered Copy without Air
;copy -a -m stone Without -a, non-matching source positions can become air inside the clipboard and may erase destination blocks when pasted.
Combine Copy Flags
Copy Existing Blocks and Entities
;copy -ae -m #existing A new copy also resets pending clipboard rotation and scale to their defaults.
Cut with ;cut
;cut copies the selection and replaces the original area with a pattern.
Cut Syntax
;cut [-a] [-e] [fill] [-m <mask>] The default fill pattern is air.
Cut and Leave Air
;cut Use another fill pattern for the original area:
Cut and Leave Stone
;cut stone Filter the source with a mask:
Cut Stone and Leave Dirt
;cut -a dirt -m stone In this example:
stoneis the source mask.dirtis the pattern left in the original area.-aprevents non-matching positions from becoming pasted air.
Include and remove entities with -e:
Cut Blocks and Entities
;cut -ae air -m #existing A cut changes the world and can be undone, but undoing it does not clear or restore the clipboard itself.
Paste with ;paste
;paste places the current clipboard into the world.
Paste Syntax
;paste [-o] [-s] [-n] [-m <mask>] Relative Paste
Paste at the Current Reference
;paste A normal paste uses:
- The player’s current position
- The relative offset saved during copy or cut
- Pending rotation, flip, and scale transformations
Paste at the Original Location with -o
Paste at Original Location
;paste -o This requires the original dimension and location data created by ;copy or ;cut.
In the current implementation, -o pastes at the original location without applying accumulated clipboard transformations.
Select the Result with -s
Paste and Select Result
;paste -s The selection is updated to cover the complete transformed clipboard bounds.
Preview without Pasting with -n
Select Expected Paste Area
;paste -n No blocks are placed. WorldEdit only selects the area where the clipboard would appear.
Filter the Destination with -m
Paste Only into Air
;paste -m air The paste mask filters blocks already present at the destination.
Paste Only over Stone
;paste -m stone This differs from copy masks:
| Command | Mask target |
|---|---|
;copy -m <mask> | Source blocks stored in the clipboard |
;cut -m <mask> | Source blocks removed and stored |
;paste -m <mask> | Existing destination blocks that may be replaced |
Paste without Air
There is no documented -a flag for ;paste in the current implementation.
Exclude air when creating the clipboard:
Paste without Copied Air
;copy -a
;paste Entities during Paste
There is no -e flag for ;paste.
Entities are included when the clipboard is created:
Copy Entities before Pasting
;copy -e
;paste Repeated pastes can duplicate stored entities.
Clear the Clipboard
Clear Clipboard
;clearclipboard This removes the current clipboard from the player’s session.
It does not remove the selection, history, exported structures, gradients, tools, or brushes.
Inspect the Clipboard
Display clipboard dimensions and size information:
Clipboard Size
;size -c Display the stored block distribution:
Clipboard Distribution
;distr -c Separate blocks by states or data values:
Clipboard Distribution by State
;distr -cd Stored air can appear in the distribution unless it was excluded during copy or cut.
Air in the Clipboard
Air is part of the clipboard unless excluded.
Including air is useful when empty spaces must deliberately clear the destination, such as rooms, windows, tunnels, or internal cavities.
Excluding air is useful when the structure should be placed over existing blocks without deleting them.
Exclude Air
;copy -a When filtering source blocks, use both -a and -m to avoid converting rejected positions into pasted air:
Safe Filtered Copy
;copy -a -m stone,andesite Entities in the Clipboard
Entities are excluded by default.
Include Entities in a Copy
;copy -e Include Entities in a Cut
;cut -e Players are never included.
Entity positions and orientations can be affected by clipboard transformations. Test entity-heavy structures before using them in important areas.
Clipboard Transformations
Without -w, the following commands modify the pending clipboard transformation rather than the world:
;rotate;flip;scale
The original structure remains unchanged until the transformed clipboard is pasted.
Rotate the Clipboard
Rotate Syntax
;rotate <rotateY> [rotateX] [rotateZ] Rotate 90 degrees around the Y axis:
Rotate around Y
;rotate 90
;paste Rotate around X:
Rotate around X
;rotate 0 90
;paste Rotate around Z:
Rotate around Z
;rotate 0 0 90
;paste Multiples of 90 degrees usually produce the most predictable block-grid results.
Flip the Clipboard
Flip Syntax
;flip [direction] The default direction is left.
Flip Clipboard East
;flip east
;paste Supported directions include left, right, north, south, east, west, up, and down.
Scale the Clipboard
Uniform scale:
Uniform Scale Syntax
;scale <scale> Separate horizontal and vertical scales:
Horizontal and Vertical Scale
;scale <scaleXZ> <scaleY> Independent axis scales:
Per-Axis Scale
;scale <scaleX> <scaleY> <scaleZ> Double the clipboard size:
Double Clipboard Size
;scale 2
;paste Avoid a scale of 0. Reducing a structure can merge blocks and remove detail, while enlarging it repeats blocks across the new volume.
Accumulated Transformations
Clipboard transformations accumulate until a new copy is created or they are manually compensated.
Combined Clipboard Transformation
;copy -a
;rotate 90
;flip east
;scale 1.5
;paste -s Two rotations of 90 degrees produce a total rotation of 180 degrees.
There is no separately documented clipboard-transform reset command. Creating a new copy is the safest reset.
The
-wflag transforms the selected blocks directly in the world. That is a world-region transformation, not a clipboard transformation.
Clipboard Pattern
#clipboard uses the stored blocks as a repeating three-dimensional pattern.
Clipboard Pattern
#clipboard Offset the repeated pattern alignment:
Clipboard Pattern Offset
#clipboard@[x,y,z] Example:
Offset Clipboard Pattern
#clipboard@[2,0,1] Unlike ;paste, the clipboard pattern repeats to fill an operation.
The current implementation reads the stored clipboard buffer directly and does not apply pending paste rotation, scale, or relative offset transformations.
Place the Clipboard along a Path
;path places repeated clipboard copies along points from a convex selection.
Path Syntax
;path [spacing] Rotate each copy to follow the path:
Rotated Path Syntax
;path [spacing] rotated <offset> Example:
Place Clipboard along a Curve
;sel convex
;pos1
;pos2
;pos2
;pos2
;path 4 rotated 0 Create the clipboard with -a when air should not be placed along the path.
path centers the clipboard around its calculated path points and does not use the relative player offset saved during copy.
Persistent Structures with ;export and ;import
The normal clipboard is temporary. Exported structures can be loaded again later.
Export a Selection
Export Syntax
;export [-a] [-e] <name> Example:
Export Structure
;export -a project:house The current parser exposes:
-ato exclude air-eto include entities
Exact behavior can differ between versions, so test exported air handling before relying on it.
Import into the Clipboard
Import Syntax
;import <name> Example:
Import and Paste
;import project:house
;paste Import loads the structure into the clipboard with default rotation and scale.
Imported structures do not provide the original location data required by ;paste -o. Use a normal relative paste after importing.
Clipboard Lifetime and Dimensions
The clipboard belongs to the player’s session.
According to the source document, a disconnected player’s session is normally retained for approximately 10 minutes while the server remains active. Closing the world or server removes the session and its clipboard.
A normal paste can be performed in another dimension of the same active world because it uses the player’s current dimension.
paste -o requires the original dimension.
For transfer between separate worlds, use exported structures and the supported external transfer process.
Performance Mode
WorldEdit performance mode can use a simpler clipboard representation:
Toggle Performance Mode
;worldedit perf The source document notes these clipboard limitations in performance mode:
- Air is always included
- Rotation is limited to the Y axis
- Advanced transformations are reduced
Use it mainly for large, straightforward copy-and-paste operations.
Common Mistakes
Copying a Non-Cuboid Selection
Use cuboid or extend before ;copy or ;cut.
Pasted Air Deletes Existing Blocks
Create the clipboard with:
Prevent Air Replacement
;copy -a A Copy Mask Produces Air
Use:
Prevent Masked Copy Air
;copy -a -m <mask> The Structure Appears Too Far Away
The reference offset was determined by where you stood during the copy. Copy again from a more useful reference point or preview with ;paste -n.
Using ;paste -a
There is no current paste-side -a flag. Exclude air during copy or cut.
Original Paste Ignores Rotation
In the current implementation, ;paste -o uses the original location without accumulated clipboard transformations.
Imported Clipboard Cannot Use ;paste -o
Imported structures do not contain the original location and dimension fields required by -o.
Clipboard Pattern Ignores Rotation
#clipboard reads the stored buffer and does not apply pending clipboard transformations.
Clipboard Disappears
The clipboard is session-based. Export important structures when they must persist after the session ends.
Quick Reference
Clipboard Commands
;copy [-a] [-e] [-m <mask>]
;cut [-a] [-e] [fill] [-m <mask>]
;paste [-o] [-s] [-n] [-m <mask>]
;clearclipboard Clipboard Inspection
;size -c
;distr -c
;distr -cd Clipboard Transformations
;rotate <Y> [X] [Z]
;flip [direction]
;scale <value>
;scale <XZ> <Y>
;scale <X> <Y> <Z> Clipboard Reuse
#clipboard
#clipboard@[x,y,z]
;path [spacing]
;path [spacing] rotated <offset> Persistent Structures
;export [-a] [-e] <name>
;import <name>