World Utils Mod (1.12.2) – Save Broken Worlds Safely
World Utils Mod adds admin commands and editing tools that fix and clean up Minecraft worlds inside the game. It includes ten main command groups to remove duplicate entities, clear invalid scheduled tile ticks, replace blocks across a whole world, inspect saved NBT data, and remove missing blocks from block ID maps. This mod also includes the Chunk Wand, an optional item turned off by default that lets you swap chunks, copy biomes from alternate world saves, or set biomes directly. Most tools work on unloaded chunks and write straight to raw world files with no undo button, so you need a full world backup before you start. It works as a server and world admin tool to stop crashes, clear console spam, and clean up leftover data from removed mods.

Requires:
Features:
- Runs batch script files from
config/worldutils/batch_commands/to run lists of any valid Minecraft commands, skipping blank lines and comment lines that start with#while supporting filename tab-completion. - Places a chosen block at exact coordinates inside unloaded chunks so you can replace a crash-causing block before loading that area.
- Checks block and TileEntity NBT data saved in chunk files on disk by printing it to the game console or saving it to a file inside
config/worldutils/. - Dumps the current block registry so you can view block names and IDs.
- Prints the current overworld spawn coordinates so you can restore your spawn point after moving away to unload chunks.
- Removes non-existing blocks and Forge placeholder dummy air entries from a
level.datfile’s block ID map copied intoconfig/worldutils/, with support for a custom filename inside that folder. - Uses a scheduler to keep total tick time under 48 ms so server TPS stays smooth, and runs only one task at a time to protect raw world NBT files.
- Writes edits straight to raw world save files with no undo option, so you must keep a full world backup before making changes.
Block Replacement:
- Replaces any number of different blocks with one target block (set to
minecraft:airby default) across the whole world in a single run. - Uses a vanilla block list covering all vanilla blocks up to and including a chosen version from 1.5 to 1.12, plus a custom block name list for single blocks or whole mods.
- Lets you replace every block on your lists or keep only the listed blocks and replace everything else in generated chunks.
- Adds single blocks, all blocks from chosen mods, all removed or dummied blocks from the registry, all removed blocks from one specific mod, or blocks with spaces in their names.
- Accepts five block formats: numeric ID (
49), ID with metadata (49:0or49@0), block name (minecraft:obsidian), block name with metadata (minecraft:stained_hardened_clay:4orminecraft:stained_hardened_clay@9), and block name with blockstate properties (somemod:some_block[color=red,facing=north,powered=false]). - Matches all metadata variants automatically when you enter a block ID or block name without metadata or blockstate properties.
- Replaces multiple specific blocks one-to-one in a single pass using block pairs, including a prepare buffer for block names that contain spaces.
- Runs on unloaded chunks, loaded chunks, or all chunks, with unloaded chunks running about 50 to 100 times faster than loaded chunks.
- Lets you stop and cancel any running scheduled task at any time.
Entity and Tile Entity Cleanup:
- Reads all entities from unloaded chunks in a dimension into memory and saves lists of all entities, all entities with duplicate UUIDs, or only the extra duplicate copies into
config/worldutils/. - Removes duplicate entities so only one copy of each UUID remains, stopping the duplicate UUID console warning spam in Minecraft 1.9 and newer.
- Removes specific entities or tile entities from unloaded chunks by name, including names that contain spaces.
- Renames entities or tile entities in unloaded chunks using one-to-one name pairs, with prepare commands for names that contain spaces.
Scheduled Tile Tick Cleanup:
- Reads all scheduled tile ticks from unloaded chunks in a dimension and saves the full list or a list of invalid tile ticks to files inside
config/worldutils/. - Finds and removes invalid scheduled tile ticks for blocks that no longer exist, preventing world-load crashes on Minecraft versions before Forge 2183 for 1.10.2 and Forge 2184 for 1.11.
- Removes all scheduled tile ticks in a dimension, or clears only the tile ticks belonging to specific mods or block names.
- Includes a
rescanoption to re-read tile tick data fresh from the world instead of using the cached list in memory.
Chunk Wand:
- Adds the optional Chunk Wand item (disabled by default) for editing chunks and biomes directly in the world.
- Swaps selected chunks in your current world with alternate versions copied from other world saves or backups inside
<worldname>/alternate_worlds/. - Imports only the biomes from an alternate world save into selected chunks without changing the blocks.
- Sets selected chunks directly to a chosen biome value.
- Lets you pick area corners in the air, switch modes, choose an alternate world or biome, and apply changes straight to the world save with no undo.
Commands:
/worldutils batch-run <filename>: runs a list of valid Minecraft commands from a script file insideconfig/worldutils/batch_commands/./worldutils blockreplace: replaces a list of blocks with one single target block across the world./worldutils blockreplacepairs: replaces specific blocks with specific target blocks in one-to-one pairs./worldutils dump blocks: dumps the current block registry./worldutils entities: reads, lists, removes, or renames entities and tile entities in unloaded chunks./worldutils inspectblock <dump | print> <x> <y> <z> [dimension id]: saves block and TileEntity NBT data from chunk files intoconfig/worldutils/or prints it to the console./worldutils printspawn: prints the current overworld spawn coordinates./worldutils registry remove-missing-blocks [filename]: removes missing blocks and Forge dummy air entries from alevel.datfile placed inconfig/worldutils/./worldutils setblock <x> <y> <z> <block> [dimension id]: sets a block at the given coordinates inside an unloaded chunk./worldutils tileticks: finds and removes scheduled tile ticks in unloaded chunks.
Block Replace Sub-Commands:
/worldutils blockreplace blockstatelist add-all-vanilla <version>: adds all vanilla blocks up to and including the chosen version (1.5 to 1.12)./worldutils blockreplace blockstatelist clear: clears the vanilla block state list./worldutils blockreplace blockstatelist list: prints the current block state list to the console./worldutils blockreplace blocknamelist add <block specifier> [block specifier ...]: adds one or more blocks to the block name list./worldutils blockreplace blocknamelist add-all-from-mod <modid> [modid ...]: adds all blocks from the listed mods./worldutils blockreplace blocknamelist add-all-removed-blocks: adds all missing or dummied blocks from the registry./worldutils blockreplace blocknamelist add-all-removed-blocks-from-mod <modid>: adds all removed blocks from one specific mod./worldutils blockreplace blocknamelist add-with-spaces <block name with spaces in it>: adds a block that has spaces in its name./worldutils blockreplace blocknamelist clear: clears the block name list./worldutils blockreplace blocknamelist list: prints the current block name list to the console./worldutils blockreplace blocknamelist remove <blockonthelist> [blockonthelist ...]: removes block names from the list./worldutils blockreplace blocknamelist remove-with-spaces <block name with spaces on the list>: removes a block name with spaces from the list./worldutils blockreplace replacement set <block specifier>: sets the replacement block (defaults tominecraft:air)./worldutils blockreplace replacement print: prints the currently set replacement block./worldutils blockreplace execute-all-chunks <keep-listed | replace-listed> [dimension id]: runs the replacement across all chunks, keeping or replacing the listed blocks./worldutils blockreplace execute-loaded-chunks <keep-listed | replace-listed> [dimension id]: runs the replacement only in loaded chunks./worldutils blockreplace execute-unloaded-chunks <keep-listed | replace-listed> [dimension id]: runs the replacement only in unloaded chunks (recommended)./worldutils blockreplace stoptask: stops and removes any currently running scheduled task.
Block Replace Pairs Sub-Commands:
/worldutils blockreplacepairs add <block to replace> <replacement block>: adds a one-to-one block pair without spaces to the list./worldutils blockreplacepairs prepare-from <block specifier containing spaces>: puts a source block with spaces into the prepare buffer./worldutils blockreplacepairs prepare-to <block specifier containing spaces>: puts a replacement block with spaces into the prepare buffer./worldutils blockreplacepairs add-prepared: adds the prepared source and target blocks as a pair to the list./worldutils blockreplacepairs clear: clears the block pair list./worldutils blockreplacepairs list: prints the current block pair list to the console./worldutils blockreplacepairs remove <block to replace>: removes a pair from the list using its source block name./worldutils blockreplacepairs remove-with-spaces <block name with spaces>: removes a pair whose source block name has spaces./worldutils blockreplacepairs execute-all-chunks [dimension id]: runs pair replacements in all chunks./worldutils blockreplacepairs execute-loaded-chunks [dimension id]: runs pair replacements only in loaded chunks./worldutils blockreplacepairs execute-unloaded-chunks [dimension id]: runs pair replacements only in unloaded chunks (recommended)./worldutils blockreplacepairs stoptask: stops and removes any currently running scheduled task.
Entities Sub-Commands:
/worldutils entities read-all [dimension]: reads all entities from unloaded chunks in the given dimension into an internal list./worldutils entities list-all: saves a list of all entities from memory into a file inconfig/worldutils/./worldutils entities list-duplicates-all: saves all entities that exist in more than one copy by UUID intoconfig/worldutils/./worldutils entities list-duplicates-only: saves only the extra duplicate copies (skipping the first entity of each UUID) intoconfig/worldutils/./worldutils entities remove-duplicate-uuids [dimension]: removes duplicated entities, leaving only one copy of each UUID./worldutils entities remove add <name> [name] ...: adds entity or tile entity names to the removal list./worldutils entities remove add-with-spaces these are name parts: adds a name with spaces to the removal list./worldutils entities remove remove <name> [name] ...: removes names from the removal list./worldutils entities remove remove-with-spaces these are name parts: removes a name with spaces from the removal list./worldutils entities remove list: prints the current removal list to the console./worldutils entities remove clear: clears the removal list./worldutils entities remove execute-for-entities [dimension]: removes all listed entities from unloaded chunks./worldutils entities remove execute-for-tileentities [dimension]: removes all listed tile entities from unloaded chunks./worldutils entities rename add <name-from> <name-to>: adds a rename pair to the list./worldutils entities rename prepare-from name with spaces: stores a source name with spaces in the prepare buffer./worldutils entities rename prepare-to name with spaces: stores a target name with spaces in the prepare buffer./worldutils entities rename add-prepared: adds the prepared rename pair to the list./worldutils entities rename remove <name-from> [name-from] ...: removes rename pairs matching the given source names./worldutils entities rename remove-with-spaces these are name parts: removes a rename pair whose source name has spaces./worldutils entities rename list: prints the current rename pair list to the console./worldutils entities rename clear: clears the rename pair list./worldutils entities rename execute-for-entities [dimension]: renames all listed entities in unloaded chunks./worldutils entities rename execute-for-tileentities [dimension]: renames all listed tile entities in unloaded chunks.
Tile Ticks Sub-Commands:
/worldutils tileticks read-all [dimension]: reads all scheduled tile ticks from unloaded chunks in the dimension into an internal list./worldutils tileticks list: saves the cached list of scheduled tile ticks into a file insideconfig/worldutils/./worldutils tileticks find-invalid [rescan] [dimension]: finds scheduled tile ticks for blocks that no longer exist, with an optionalrescanflag to re-read from disk./worldutils tileticks find-invalid list: saves all found invalid tile ticks into a file insideconfig/worldutils/./worldutils tileticks remove-invalid [rescan] [dimension]: removes all scheduled tile ticks for blocks that no longer exist./worldutils tileticks remove-all [dimension]: removes all scheduled tile ticks in the given dimension./worldutils tileticks remove-by-mod add <name> [name] ...: adds mod names to the tile tick removal list (also works withremove-by-namefor block names)./worldutils tileticks remove-by-mod remove <name> [name] ...: removes names from the tile tick removal list (also works withremove-by-name)./worldutils tileticks remove-by-mod list: prints the current tile tick removal list to the console (also works withremove-by-name)./worldutils tileticks remove-by-mod clear-list: clears the tile tick removal list (also works withremove-by-name)./worldutils tileticks remove-by-mod execute [dimension]: removes all scheduled tile ticks for the listed mods in unloaded chunks (useremove-by-name execute [dimension]for block names).
How to Use:
Using the Chunk Wand:
- Make a full backup of your world save first, because Chunk Wand actions write straight to your active world with no undo button.
- Copy each alternate world you want to pull chunks or biomes from into
<worldname>/alternate_worlds/so each folder holds its ownregion/folder; to switch chunks back later, create<worldname>/alternate_worlds/current/and copy your current world’sregion/folder inside it. - Hold the Chunk Wand, point into the air, and press Left-Click or Right-Click to mark the corner chunks of the area you want to edit.
- Hold Ctrl and scroll your mouse wheel to switch between Swap chunks, Import biomes, and Set biomes modes.
- Hold Alt and scroll your mouse wheel to pick the alternate world source or the biome you want to apply.
- Press your Toggle hotkey to run the edit and write the chosen chunks or biomes straight into your world save.
Running Commands on Unloaded Chunks:
- Make a full backup of your world save and keep a separate copy of
level.datso you can easily restore your original spawn point and block ID map afterward. - Check your current spawn with
/worldutils printspawnif needed, switch to Creative mode with/gamemode 1, teleport far away to the center of an unused region file (for example,/tp @p 20736 160 256insider.40.0.mca), and run/setworldspawn; if the world is from another Minecraft version or is missing its usual mods, edit the spawn coordinates inlevel.datwith NBT Explorer before opening the world so real chunks never load. - Reload the world so all of your original chunks unload completely and can be edited safely on disk.
- Run your
/worldutilscommands (such as setting a replacement block, filling your lists, and runningexecute-unloaded-chunks) or run a script file fromconfig/worldutils/batch_commands/with/worldutils batch-run <filename>. - Wait for the scheduled task to finish under the 48 ms tick limit, or cancel it anytime using
/worldutils blockreplace stoptask(or/worldutils blockreplacepairs stoptask). - Restore your saved
level.datfile (or teleport back and restore your old spawn point with/setworldspawn), then delete the temporary region file (such asr.40.0.mca) from your world’sregion/folder.
How to Install:
New to Minecraft? Follow our step-by-step guide to install Mods on your PC.View Guide
World Utils Mod Download Links
For Minecraft 1.10.2
Forge version: Download from Server 1
For Minecraft 1.11.2
Forge version: Download from Server 1
For Minecraft 1.12.2
Forge version: Download from Server 1
How do you usually discover new mods to try out?
16 responses · See the full results →
0

























This post has no comments yet. Be the first — your comment will appear here.