Description
Craft a wand, pick two corners, and fill, replace, wall, box, sphere, cylinder, line, copy, paste, rotate and undo.
How it works
- Craft the Building Wand: a copper ingot in the top right corner and two sticks running down to the bottom left. Operators can also use
/wandgive. - Hit a block with the wand: corner 1. Use the wand on a block: corner 2. The wand never breaks or opens a block, so doors and chests stay shut. Particles outline the box while you hold the wand.
- No typing needed on phone: sneak and use the wand in the air (or type
/wandmenu). The block used is the one in the hotbar slot right of the wand; an empty slot means air. Replace swaps the block two slots right for the one next to the wand.
Commands
/wfill <block>: fill the box (/wfill airclears it)/wreplace <from> <to>: swap one block for another inside the box/wwalls <block>: the four walls of the box/wbox <block>: a hollow box, walls, floor and roof/wsphere <block> <radius> [true]: a ball centred on corner 1,truefor hollow/wcyl <block> <radius> <height> [true]: an upright cylinder standing on corner 1,truefor hollow/wline <block>: a straight line from corner 1 to corner 2/wcopy,/wpaste: copy the box and paste it, measured from where you stand/wrotate <90|180|270>: turn the copy clockwise; blocks that face a way turn with it (checked on the server with logs and a furnace)/wundo [steps],/wredo [steps]: 20 steps each by default/wpos1 [x y z],/wpos2 [x y z]: set a corner where you stand or at a position/wselshows the corners,/wsel clearclears them;/wandshows help
Safe on shared worlds
- A size limit per operation: 5,000 blocks for players, 50,000 for operators. A shape over the limit is refused before anything changes. Big operations are spread over several ticks.
- In survival, every block placed is taken from your inventory, and an operation you can't pay for is refused. Replaced blocks give nothing back. Undo hands the blocks back, but only for blocks still in place.
- Survival players can't overwrite bedrock, barriers, portals, spawners, command blocks and similar. Chests and other containers are never overwritten.
- Undo only puts back blocks that still look the way the operation left them, so it never wipes someone's later work.
- Adventure and spectator players can't use it. Land that isn't loaded stops the whole operation.
Settings
Operators: /wandconfig lists them, /wandconfig maxBlocks 20000 changes a number, /wandconfigtext playersCanUse off changes a switch. Saved in the world. They are also at the top of scripts/main.js, each with a comment.
maxBlocks, maxBlocksOperators, playersCanUse, survivalPays, skipContainers, undoSteps, pasteAir, blocksPerTick, showOutline.
Undo history and copies are kept until the server restarts.
Tested
Tested on Bedrock Dedicated Server 1.26.63; not yet seen in a real game client.
- 67 checks with simulated players on the server (a Beta-APIs test world; the add-on itself uses no beta API): corners picked by hitting and using the wand, no block broken in creative or survival, a door left shut; every shape counted block by block against an independent count (fill, replace, walls, hollow box, solid and hollow sphere and cylinder, a gap-free line); undo restoring the area exactly, also after 12 steps, and leaving later changes alone; redo; copy, paste and rotate with turned logs and furnace; chests skipped; survival paying in blocks and refunds on undo; bedrock left alone; adventure refused; a 16,000-block fill and its undo over several ticks.
- Size limit negatives: an 8,000-block fill, a radius 30 sphere and an 8,000-block copy refused for a player with nothing changed; a 125-block fill refused after an operator set the limit to 100; an operator's 8,000-block fill allowed.
- 54 checks with two real network clients in a world with no experiments and cheats off, shared by Building Wand, Vein Miner for Ores and Hold to Power: commands, operator-only settings, survival payment with a real inventory, limits, unloaded land refused, the menu, settings surviving a restart and /reload, then level.dat read back (cheats off, no experiments, never creative).
- 53 unit tests of the shape maths (counts, lines, turning).
Not tested: a real phone, console or PC client, so the wand's look, the particles and the menu screens have not been seen. Copy and paste moves blocks only: chest contents, sign text and banner patterns are not copied.
Needs Minecraft 1.21.100 or newer. Stable Script API only, no experiments, so achievements stay on. Licence: MIT. Not affiliated with Mojang or Microsoft.
More free tools: actuallyop.com





