Command Block Scanner v 1.0.1
Having problems finding a Command Block?
Want to fix old maps and automatically replace commands in all command blocks in a 400 block area ?
Want to find chests or spawners that are hidden away in all sorts of structures or underground ?
This mod will help you with that.
Example commands
to show all command blocks in a 400 block area around you:
/scanCB 200 "all"
to show only blocks that contain the command /tp:
/scanCB 200 "/tp"
to replace old commands en masse
/replaceCB 200 "43 1" "sandstone"
/replaceCB 200 "24 0" "sandstone"
/replaceCB 200 " 55" " minecraft:redstone_wire"
/replaceCB 200 " 152" " redstone_block"
/replaceCB 200 " 154" " hopper"
(note the space before search and replace texts)
to scan for spawners
/scanForBlock 200 spawner
when you are finished you can clear all the markers by typing
/clearScan
note: if your map has entities of type text_display they will be removed
I recommend using this with bettercommandblockui and morechathistory for a better experience.
This is a work in progress, if you have any suggestions let me know in the comments section.
note2: I wish someone has told me this sooner but if you wish to use an old minecraft map on a new server you dont have to learn programming and make a mod to upgrade it.. you can just go to single player menu and click Edit -> Optimize World !

