Minecraft worldedit ops

From Jahrome907/minecraft-agent-skills · View interactive version

Minecraft worldedit ops is an AI agent skill from the GitHub repository Jahrome907/minecraft-agent-skills. Operate WorldEdit safely for Minecraft 26.x and 1.21.x selections, region edits, masks, schematics, brushes, terrain shaping, and rollback. Use for command-driven world editing, not plugin development or general server administration.

How to use this skill

Skill file

Minecraft WorldEdit Operations Skill

Scope and Positioning

This skill is for operating WorldEdit on live or staging servers.

It is not for writing plugin code that integrates with WorldEdit APIs.

Routing Boundaries


Platform and Setup Notes

WorldEdit is commonly used on:

Operational best practice:

  1. Apply large edits on staging or during maintenance windows.
  2. Keep automatic backups before major region operations.
  3. Use conservative selection + mask constraints before destructive commands.

Select the build listed for the exact server version and loader on the

official downloads page. Verify

Folia support separately; do not infer it from Paper compatibility. Stage-test

the selected build before using it on production worlds.

References


Core Selection Workflow

Selection modes

Most common cuboid flow:

//wand
//pos1
//pos2
//size

Fast alternatives:

//hpos1
//hpos2
//chunk
//expand 20 up
//expand 20 down

Selection safety checks:

placement flags planned for the real paste (for example, //paste -n -a or

//paste -n -o), then run //size and inspect the selected destination


Region Operations

High-frequency operations

//set stone
//replace stone andesite
//replace water air
//walls stone_bricks
//overlay grass_block
//smooth 3

Masks and filtered replacements

Use masks to constrain scope:

//gmask #existing
//replace grass_block dirt
//gmask

Single-command mask approach:

//replace stone,andesite,diorite,granite smooth_stone
//replace ##leaves air

Pattern examples:

//set 70%stone,20%andesite,10%cobblestone
//replace dirt 60%coarse_dirt,40%podzol

Clipboard and Schematic Workflows

Clipboard basics

//copy
//rotate 90
//flip east
//paste -a

Use -a when you want to skip air blocks during paste.

Schematic workflow

//schem save spawn-hub-v3
//schem list
//schem load spawn-hub-v3
//paste -n -a
//size
//paste -a

Operational guidance:

keep -a, -o, and any other placement flags aligned between preview and

actual paste


Brushes and Terraforming

Practical brush setup

/brush sphere stone 4
/brush smooth 3
/brush raise sphere 2
/brush lower sphere 2
/mask #existing

Reset brush:

/brush none

Terraforming safety:


Undo, History, and Safety

History commands

//undo
//undo 5
//redo

Safety policy for production operations:

  1. Create backup checkpoint.
  2. Perform one logical batch of edits.
  3. Validate with visual walkthrough.
  4. Continue or //undo immediately.

Do not chain many destructive edits without intermediate verification.

Run //clearhistory only after the edit is accepted, a backup or schematic

checkpoint exists, and the rollback window is closed.


Practical Runbooks

Runbook: Spawn Editing Refresh

//copy
//schem save spawn-before-refresh
//smooth 2
//copy
//schem save spawn-after-refresh

Runbook: Arena Reset Between Matches

//schem load arena-pristine
//paste -n -o
//size
//paste -o

-o origin flag. Include air to remove player-added blocks; -a would leave

those blocks behind. Entity and biome restoration require intentional

copy/paste flags and separate verification.

Runbook: Block Cleanup (Lag and Visual Noise)

Typical cleanup targets:

Example cleanup sequence:

//replace lava air
//replace water air
//replace ##leaves air

Always scope with selection/mask first to avoid map-wide accidental edits.

Runbook: Path Shaping and Terrain Blend

//set 50%dirt_path,30%coarse_dirt,20%gravel

Operational Guardrails


References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.