David Burns Posted January 6, 2021 Report Posted January 6, 2021 I'd like to delete and then reload many of the chunks in my world so that they include the updated features in the game. It would be great if I could identify broad areas on a map for reinitialization. I was unable to find a way to do this in the worldedit, and I have not been able to find a similar thread -- my regrets if one exists!
Farnley Posted January 8, 2021 Report Posted January 8, 2021 In case you haven't tried it yet, I assume /wgen regen [chunk radius] (at the bottom of the page) does that. You can use .debug wireframe chunk to show/hide the chunk borders. Make sure to backup your world before you start using the command, and be careful around traders, as it might just delete them - at least it did when I played around with it. 1
Pengwin Posted May 11, 2022 Report Posted May 11, 2022 I just tried this command. It turns out that is does not "regen" the chunk in a way that it gets restored. It generates new chunks in the same space. I tried this out: 1. Was searching for salt domes with worldedit to learn how they spawn. 2. I removed rock with the "erase selected block" tool and then found the salt domes where they should be. 3. I used the "/we regen [radius]" command to regenerate the chunk in a 3x3 space since I ripped some serious holes in my world. 4. I carved out the rock again to see if the regen worked, but the salt domes were gone. It looks like the chunks got deleted and regenerated with some new random seed/salt. ("salt" in the random generator meaning) So the question is how can i restore the chunks with the exact content they were generated the first time. I also noticed an interesting map issue. The map gets saved to the same space for Singleplay/Multiplayer. In my case I copied the MP map from our servers to my SP to try out the stuff above in a safe copy. I "destroyed" my world in SP. I went back online on our MP server to see the same changes also were displayed there in the map (button M). When I teleported to the destroyed chunks they were of cause fine as they should be and the map updated showing the actual state. I think the savefiles (local and server) should have their own map buffer even if the world is the same. 1
Cooledbee63903 Posted December 24, 2024 Report Posted December 24, 2024 MAKE A BACKUP FIRST PLEASE hey came to say there is now a command for this, its if you game crashes please run this command first. /wgen autogen 0 then: /db prune 16 drop confirm TLDR: This command looks for chunks where the player has distroyed/added 16 blocks. then deletes the rest of the chunks. THIS DOES NOT DELETE THE SEED. Just regens ores and other structures. this command looks for any location that has any blocks destroyed/placed from EVERYWHERE around the world. in this case it looks for 16 block changes. this means your base is safe and the chunk your base is located in is unchanged. if you want it to be more strict, use logic to determine how high you want this value, around 75 was a good value to keep my base save but kill everything else.
Recommended Posts