Nickitkat Posted 9 hours ago Report Posted 9 hours ago (edited) Hi, I'm starting to regret my material choices for my base in survival. I wish to swap them but the thought of replacing everything block by block is really discouraging. I can't phantom how long it would take to change them all and I don't even know if the new material palette would look good until I test them out somehow. I've tried world edit. Creating a bounding box selection, using rep mat only works for full 'blocks' and support beams so far. Slabs, chiseled blocks and fence doesn't seem to work. Right clicking them with the new block I wish to replace also doesn't work. I've downloaded QP's chisel mod, but I don't know how to make the block swapper tool work on an entire selection. Not to mention, it doesn't work on chiseled blocks. Basically I'm just trying to swap all pine related blocks or texture to walnut. Please help me ! Thanks! P.S - English isn't my first language, I apologize if my sentences cause confusion or if they could be worded better. Sorry! Edited 9 hours ago by Nickitkat 1
Professor Dragon Posted 4 hours ago Report Posted 4 hours ago (edited) Hello @Nickitkat, Welcome to the forum. I've tried on v1.22.5 (Stable) with World Edit, Paintbrush tool and can replace fences and slabs one by one with a right click. The method has two parts: 1) Bound your Selection to be ONLY the parts you wish to replace with the select block. Taking an example from your windmill, this might be every fence in the front fence selection only. Use "/we constrain selection" 2) Change the Paint Brush tool to Mode "Replace Selected Block", put the block that you wish to replace into your Hot Bar slot and then you can <right mouse> drag and only items within the bounded selection (1) will be replaced. CAUTION: This does NOT check for original block type - it just overwrites whatever block is there. I found this method from Tyron, the lead developer in another thread: "1.19 allows you to constrain all tool brush operations to your selection via "/we constrain selection". That plus a large enough paint brush with place mode "Replace selected" should about do the same thing." There is also "Chisel brush Tool" which I THINK does something similar for chiselled blocks, but have not tested. I'm pretty sure that the QP chisel mod can help to some extent, but you'd need to go watch a video for that to confirm. The downside is that you will need to do that selection for every part of your build. It is not a "search and replace all" ability. This makes it good for things like a large section - such as a big, uniform wall. But poor for a complex build with lots of little parts. Honestly, moving over to Creative and replacing it block by block might be easier. Hello @Tyron, Is it possible to do a "Search and Replace" on a bounded section in a build? For example, to bound a whole build and replace pine fences with birch fences? Or is this a case for an Export, text file search and replace, and Import? Thanks, Professor Dragon. EDIT Hello @Nickitkat - I experimented some more, and I think that doing an Export and then manipulating the text file is the way to go for you. 1. Select and bound your build. 2. Export the build eg "/we export D:\MyVSExport.json" This will generate a file with contents similar to the following: {"GameVersion":"1.22.5","SizeX":4,"SizeY":1,"SizeZ":3,"BlockCodes":{"11667":"game:woodenfence-purpleheart-empty-free","7575":"game:cobblestoneslab-sandstone-down-free","11704":"game:woodenfence-baldcypress-s-free","11732":"game:woodenfence-baldcypress-ne-free"},"ItemCodes":{},"Indices":[1024,2048,1,1025,2049,2,1026,2050,1027,2051],"BlockIds":[11667,7575,7575,7575,7575,7575,7575,7575,11704,11732],"DecorIndices":[],"DecorIds":[],"BlockEntities":{},"Entities":[],"ReplaceMode":2,"EntranceRotation":-1,"OriginalPos":{"X":511964,"Z":511890,"InternalY":114}} 3. Manipulate the text file with a Search and Replace (I find Notepad++ useful, but even basic Notepad will work). TIP: Make up a simple build with the block types in your original build, and the block types in your replacement parts - this will give you a list of both names. 4. Import the file with World Edit. Professor Dragon. Edited 4 hours ago by Professor Dragon
Recommended Posts