介绍
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:
- Uninstalling mods from an existing world
- Upgrading worlds between Minecraft versions
- Fixing broken/missing blocks after mod updates
- Block Scanning: Scans for modded blocks around players or in specified areas
- Automatic Replacement: Configurable mappings to replace blocks from one mod with another
- Property Preservation: Maintains block rotation, direction, and other properties during replacement
- NBT Data Preservation: Keeps inventory contents and other block entity data when replacing containers and machines
- Bulk Operations: Process entire areas or maps with a single command
- Registry Scanning: Identifies all modded blocks and items in your current installation
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 items
The 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:
- Preserve block orientation (e.g., a north-facing furnace remains north-facing)
- Maintain block states (e.g., slabs placed on the top half stay on the top half)
- Copy NBT data when possible (e.g., inventory contents in containers)
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- Edit the suggested_replacements.json file to adjust replacements
- Rename to block_replacements.json or copy the content to the existing file
/bscan reload– Reload the configuration/bscan activate 128– Activate replacements
For 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.
- Processing large areas can be resource-intensive
- The mod uses multi-threading where possible to improve performance
- For very large operations, consider increasing Java heap allocation
This mod is compatible with:
- Minecraft Forge 1.18.2
- Single player and multiplayer servers
- Most other Forge mods
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
常见问题
Block Scanner & Replace 支持哪些 Minecraft 版本?
Block Scanner & Replace 支持 Minecraft Java 版 1.18.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Block Scanner & Replace 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
nexusnode 的其他作品
查看全部 →OLDCDCRAFTINGDEAD
独自一人或与好友一起,在僵尸末日中求生!
Crafting Dead: Immerse
为Crafting Dead整合包制作。
Crafting Dead Modpack
Crafting Dead 增加了大量僵尸和枪械,还加入了外观装饰与医疗用品。
Crafting Dead: Decoration
Crafting Dead 装饰
评论
登录后评论和评分