Block Scanner and Replace
A Minecraft modification for Forge that provides players with powerful tools for working with blocks from various mods. With this tool, you can effectively maintain your worlds and simplify transitions between different modifications.
Areas of Application
Use this modification in situations when you need:
- Remove a specific mod from an existing world without causing damage
- Upgrade your save to a new Minecraft version
- Fix errors that occur after content updates
Functionality
Block Scanning: Search for elements added by various modifications around the character or in specified regions.
Automatic Replacement: Customizable profiles for replacing certain modded blocks with others or standard game objects.
Property Preservation: During all manipulations, blocks remain in their original orientation.
Safe NBT Data Transfer: Inventory data and other container information is copied to replacement objects without loss.
Area Operations: Processing entire chunks or large territories using individual commands.
Registry Management: Identification of all modified objects in your current installation.
Command System
Management is conducted through /blockscanner or the shortened version /bscan.
Core Commands
- /bscan scan [radius] — Search for modified blocks nearby
- /bscan replace
[radius] — Replace specific materials - /bscan reload — Reload configuration files
- /bscan addblock
— Create new replacement rule - /bscan listscanned — List of found mod-related objects
- /bscan generateconfig — Generate recommended configuration set
Area Operations
- /bscan activate [radius] — Start block replacement in area
- /bscan processall — Process all loaded map sections
- /bscan replacechunk
— Replace objects in specific chunk - /bscan status — Check replacement operation status
Map Work
- /bscan scanmap
[render distance] — Analyze rectangular zone - /bscan replacemap
[render distance] — Replace objects in map area - /bscan stopmap — Stop active scanning process
Continuous Scanning Mode
- /bscan autoscan on|off — Automatic analysis around players
- /bscan autoscan status — Check automatic mode status
Mod Registry Management
- /bscan registryscan — Scan and save all existing modded registry entries
- /bscan listmods — List of mods with registry elements
- /bscan listitems [mod_id] — Modified items listing
- /bscan listblocks [mod_id] — Block modifications listing
Configuration
BlockScanner configuration is located in the config/blockscanner/ directory:
- block_replacements.json — Main replacement rules file
- suggested_replacements.json — Automatically generated suggestions
- modded_blocks.yml — List of discovered non-standard materials
- modded_items.yml — Search for standardized objects
Replacement Format
Configuration uses JSON system:
{
"modid:block_name": "minecraft:replacement_block",
"anothermod:some_block": "minecraft:stone",
"problematic:machine_block": "minecraft:furnace"
}
Automatic Replacement Process
When block replacement is activated, the following occurs:
- Preservation of block spatial placement
- Block states remain identical
- Copying of complex data when possible
Handling Problematic Scenarios
Recovering Missing Components
Scenario for replacing conflicting mods includes:
- /bscan registryscan — Analysis of available objects
- /bscan scan 128 — Search for modified materials near character
- /bscan generateconfig — Generate recommended rules
- Adjust suggested_replacements.json
- Transfer content to block_replacements.json
- /bscan reload — Apply updated parameters
- /bscan activate 128 — Execute preservation process
Processing Large Maps and Servers
Using map commands ensures processing of extensive territories:
/bscan replacemap -1000 -1000 1000 1000 256
This command initiates comprehensive work on the current game world area.
Performance Considerations
- Large-scale replacements may require significant time
- Multi-threaded computations are used for efficiency
- Recommended to increase computing resource optimization for extensive operations
Compatibility
- Support for major modification platforms
- Functions in single-player mode and on servers
- Works alongside other content packs