plugins/minecraft-codex-skills/skills/minecraft-worldedit-ops/SKILL.md
Operate WorldEdit safely and efficiently for Minecraft 1.21.x server build/admin workflows. Covers selection mechanics, region operations, masks and patterns, clipboards and schematics, brushes and terraforming, undo/history safety, and practical runbooks for spawn edits, arena resets, block cleanup, and path shaping. Use for command-driven world operations, not plugin development.
npx skillsauth add Jahrome907/minecraft-agent-skills minecraft-worldedit-opsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill is for operating WorldEdit on live or staging servers.
It is not for writing plugin code that integrates with WorldEdit APIs.
Use when: the task is command-driven in-world editing with WorldEdit (selections, transforms, schematics, terrain shaping, rollback-safe workflows).Do not use when: the task is Java plugin implementation (minecraft-plugin-dev).Do not use when: the task is broad server deployment/tuning/proxy/backup strategy (minecraft-server-admin).Do not use when: the task is EssentialsX command/economy/moderation workflows (minecraft-essentials-ops).WorldEdit is commonly used on:
Operational best practice:
Compatibility note: stable WorldEdit 7.4.x targets current 1.21.x servers. For Minecraft 26.1.x, check the WorldEdit release notes first and stage-test any beta or pre-release build before using it on production worlds.
references/safety-checklists.md before large pastes, destructive replacements, or any edit where rollback discipline matters more than speed.Most common cuboid flow:
//wand
//pos1
//pos2
//size
Fast alternatives:
//hpos1
//hpos2
//chunk
//expand 20 up
//expand 20 down
Selection safety checks:
//size before //set, //replace, or //paste//distr to preview block composition before replacement//set stone
//replace stone andesite
//replace water air
//walls stone_bricks
//overlay grass_block
//smooth 3
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
//copy
//rotate 90
//flip east
//paste -a
Use -a when you want to skip air blocks during paste.
//schem save spawn-hub-v3
//schem list
//schem load spawn-hub-v3
//paste -a
Operational guidance:
arena-mid-2026-03-27)//brush sphere stone 4
//brush smooth 3
//brush raise 2
//brush lower 2
//mask #existing
Reset brush:
//none
Terraforming safety:
//undo checkpoints during long sessions//undo
//undo 5
//redo
Safety policy for production operations:
//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.
//size.//copy
//schem save spawn-before-refresh
//smooth 2
//schem save spawn-after-refresh
//schem load arena-pristine
//paste -a
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.
//set 50%dirt_path,30%coarse_dirt,20%gravel
stone_bricks, andesite) where elevation changes.development
Create custom world generation content for Minecraft 1.21.x including custom biomes, dimensions, noise settings, surface rules, placed/configured features, carvers, structure sets, and biome modifiers. Covers both the datapack-only approach (JSON worldgen files) and the mod-code approach (NeoForge BiomeModifiers, Fabric BiomeModification API, code-driven worldgen registration with DeferredRegister). Includes compact JSON patterns and validator-backed reference checks for biome, dimension, placed_feature, configured_feature, structure, structure_set, and biome_modifier files. Targets Minecraft 1.21.x with official Mojang mappings. Use when the user asks about Minecraft worldgen, custom biomes, datapack JSON for dimensions or features, or mod-based biome modification with NeoForge or Fabric.
tools
Write automated tests for Minecraft mods and plugins for 1.21.x. Covers NeoForge GameTests (@GameTest annotation, GameTestHelper assertions, test structure placement), Fabric game tests (fabric-gametest-api-v1), unit testing non-Minecraft logic with JUnit 5, MockBukkit for Paper/Bukkit plugin testing (mock server, mock player, event dispatching, inventory checking), integration testing with a test server via Gradle, and GitHub Actions CI workflows that run GameTests headlessly. Includes patterns for mocking registries, testing event handlers, testing commands, and test-driven development for Minecraft projects. Use when the user asks about testing Minecraft mods or plugins, writing GameTests, setting up MockBukkit, or configuring CI for Minecraft projects.
tools
Set up, configure, and operate Minecraft Java Edition servers for 1.21.x across Paper, Purpur, Folia, Velocity networks, and modded (Fabric/NeoForge) deployments. Covers deployment selection, performance tuning playbooks, plugin operations, proxy/forwarding setup, backup and recovery runbooks, live incident troubleshooting, Docker/Pterodactyl patterns, and security hardening. Use for server infrastructure and operations, not plugin or mod feature development.
development
Create and edit Minecraft resource packs for 1.21.x including custom block models, item models, blockstate definitions, textures (PNG format requirements), sounds.json, custom fonts, MCMETA animation files, OptiFine CIT (Custom Item Textures), and pack.mcmeta format. Covers the full block/item model JSON schema (parent, textures, elements, display, overrides), multi-layer items, GUI textures, GUI sprites, language files, shader integration (core shaders, Iris), and the pack format numbers for each 1.21.x version. Use to customize how Minecraft looks and sounds without mods.