A Minecraft Forge mod for scanning and replacing modded blocks to help with world maintenance and mod transitions.
BlockScanner provides tools to scan Minecraft worlds for blocks from specific mods, and replace them with blocks from other mods or vanilla Minecraft. This is especially useful when:
BlockScanner provides several commands, all accessible via /blockscanner or the shorthand /bscan.
/bscan scan [radius] - Scan for modded blocks around you/bscan replace <fromBlock> <toBlock> [radius] - Replace specific blocks/bscan reload - Reload configuration files/bscan addblock <fromBlock> <toBlock> - Add a new block replacement rule/bscan listscanned - List all scanned modded blocks/bscan generateconfig - Generate a suggested replacement configuration/bscan activate [radius] - Activate block replacements in an area/bscan processall - Process all loaded chunks/bscan replacechunk <pos> - Replace blocks in a specific chunk/bscan status - Check replacement status/bscan scanmap <x1> <z1> <x2> <z2> [renderDistance] - Scan a rectangular area of the map/bscan replacemap <x1> <z1> <x2> <z2> [renderDistance] - Replace blocks in a map area/bscan stopmap - Stop an in-progress map scan/bscan autoscan on|off - Toggle automatic scanning around players/bscan autoscan status - Check auto-scanning status/bscan registryscan - Scan and save all modded registry entries/bscan listmods - List all mods with registry entries/bscan listitems [modid] - List modded items (optionally filtered by mod)/bscan listblocks [modid] - List modded blocks (optionally filtered by mod)BlockScanner stores its configuration in the config/blockscanner/ directory:
block_replacements.json - Main configuration file for block replacement rulessuggested_replacements.json - Generated suggestions based on scanned blocksmodded_blocks.yml - List of discovered modded blocksmodded_items.yml - List of discovered modded itemsThe block replacement configuration uses a simple JSON format:
{
"modid:block_name": "minecraft:replacement_block",
"anothermod:some_block": "minecraft:stone",
"problematic:machine_block": "minecraft:furnace"
}
When block replacement is active, the mod will:
When a mod is uninstalled and leaves missing blocks, run these commands:
/bscan registryscan - Scan all available blocks in current installation/bscan scan 128 - Scan around the player for modded blocks/bscan generateconfig - Create suggested replacements/bscan reload - Reload the configuration/bscan activate 128 - Activate replacementsFor large servers or maps, use the map commands:
/bscan replacemap -1000 -1000 1000 1000 256
This will systematically teleport to positions covering the specified area, activating replacements at each location.
This mod is compatible with:
Crafting Dead Copyright (C) 2022 NexusNode LTD This mod is available under the terms of the Non-Commercial Software License Agreement.
Developed by NexusNode team