你可以帮助我们来翻译此条目,但请勿使用机器翻译。
这个过程会删除你的世界的一部分,所以请仔细阅读这些说明,确保你完全理解你在做什么。
本教程解释了如何重置任何1.13之前的世界中的区块,让它们在1.13中重新生成。如果你有一个巨大的世界的话,您不需要旅行数千个区块到未加载的区块中才能看到新的地形。[1]
本教程对于任何大小不超过2GB的世界有效。
这种方法适用于从1.7.2到1.12.2的任何世界。然而如果你已经用1.13或在1.12.2之后发布的预发布和快照版本中打开了你的世界,这种方法会失效。如果你已经打开了,你需要用备份替换存档。
如何生效
1.13通过增加沉船、珊瑚礁和海草之类的特色极大地改变了世界中的海洋 、沼泽和河流的生成方式。然而,新的生成方式并不会改变生物群系或地表高度(只有极少数例外,如u/bdm68[2])
通过使用外部工具,我们可以删除现有世界中的任何海洋、河流和沼泽区块。当世界在1.13版本中打开时,游戏将重新生成我们先前删除的区块。由于生物群系和高度在1.13中没有变化,重新生成的区块将无缝衔接进现有的世界,但它们将产生新的水下构造。
使用MCEdit可以从世界中删除特定的某个区块。你也可以精确地删除你想删除的那个生态群系。如果你想要保存区块中的现有构造,也可以保护特定的区域。
这个插件会检查你世界中的每个区块,然后决定每一个区块是否可以删除。在Minecraft中,一个区块可能并不仅仅包含一个生物群系,比如海滩上的大量区块可能同时包含海洋和海滩两种生物群系。有时可能会不确定如何处理这种情况,所以插件会按照下面两种模式之一来处理:
- Aggressive模式会删除包含选定群系的所有区块。比如说,如果你在这个模式下决定删除所有河流群系,插件会删除某个区块,即使它只有一个方块是河流群系,也不管这个区块上包含着哪些其他群系。
- Cautious模式只删除那些只包含选定群系的区块。比如说,如果你让插件删除海洋和海滩这两种群系,那么它只会删除那些每个方块都是海洋或海滩群系的区块。如果区块中有一个既不属于海洋也不属于海滩的方块,那它就不会被删除。
这是一个说明这种差异的例子:
这里有四种生物群系: 平原 (绿色)、海滩(黄色)、河流(淡蓝色)以及海洋(深蓝色)。如果你要用插件删除所有河流、海滩还有海洋,那么无论你使用哪个模式,被紫色框选住的区块都会被删除。但是在aggressive模式中,红框框住的区块也会被删除。
总的来说, aggressive模式会有更好的结果,特别是当你想要重新生成河流群系时。然而你可能需要保护你世界中的更多地区。
为了保护你世界中的某些地区,你需要写一些Python语言来修改插件。不要担心,下文中有指导。
一整个过程需要几个小时。
准备工作
- 备份一下你的世界。
- 测试你的备份,确保它有效。
- 你的世界可能会出错。对这一点要有清醒的认识,确保你完成了步骤1和2而没有跳过它们。
- 下载并安装MCEdit。推荐版本是MCEdit 2.0.0 beta 12。下载链接中的版本在Windows和Mac系统中运行。
- 在这里下载生物群系删除插件然后解压。你会发现两个文件夹:这个教程的一个副本和在一个叫做'biome_deleter.py'的文件中的插件。
- 决定你想要删除那些群系。新的生成方式极大地影响了下面的几种群系:D
- 海洋 (ID 0)
- Swampland (ID 6)
- 河流 (ID 7)
- 冻洋 (ID 10)
- Mushroom Island Shore (ID 15)
- 沙滩 (ID 16)
- 深海 (ID 24)
- Stone Beach (ID 25)
- Cold Beach (ID 26)
保护世界中的某些区域
一旦你决定了你想删除哪些群系,列出你在这些群系中或在它们附近建造的东西。插件可能会依据你选择的模式删除包含你不想删除的群系的区块。
如果你在想保留的群系中什么都没有建造,请跳过这一段。这一段会教你如何修改插件来保护那些建筑物。
一张解释MCEdit一部分用户界面的截图。
- 在MCEdit中打开世界。这是MCEdit的一个简略的教程。
- MCEdit有三种视角。侧视角看起来像是泰拉瑞亚,概览视角从上面看世界,还有全3D视角。你可以使用2D、Over和3D三个按钮切换视角。在本教程中我们使用概览视角。
- 按住鼠标右键移动。
- 工具栏在左边。在本教程中我们只使用Select工具。
- 使用这个区块选择工具时,你可以用左键拖动框来选择区块。
- 窗口底部的状态栏会展示你指的东西的有用的信息。特别是方块坐标、区块坐标和生物群系。我们将利用区块坐标定义受保护区域。
- 用一个文本编辑器(比如Windows的Notepad和macOS的TextEdit)打开插件('biome_deleter.py')。往下滑,找一行叫做“Protected Regions”的标题文字(第200行)。
- 对每一块你想保护的地区做如下的事情:
- 使用概览视角找到你想保护的区域。
- 使用区块选择工具选中这些区域。
- 找出选中区域左上角的区块和右下角的区块的区块坐标。MCEdit的状态栏会从左往右分别展示区块的x,y,z坐标。所以当你看见“区块(1,0,-9)”时,1就是x坐标,0是y坐标,-9就是区块的z坐标。
- 在你的文本编辑器里找到专用于你的受保护区域的区域,在其中新增一行。
- 输入“chunk_region(x1, z1, x2, z2),”(在结尾处标上逗号),用左上角的区块x和z坐标替换x1和z1,用右下角的区块的x和z坐标替换掉x2和z2。
- 在这行前面填上空格,使“chunk_region”中的“c”和上面的“#”对齐。
- 保存修改好的插件。
Example
There are two regions that you want to protect.
- The first one is your base. The box of chunks that encloses your base has chunk (-1, 0, 4) in its upper left corner, and chunk (3, 0, 12) in its lower right corner. So, we write 'chunk_region(-1, 4, 3, 12),' to define this region.
- The second one is a mob farm in the middle of the ocean. The entire farm fits into a single chunk, namely chunk (33, 0, 15). In this case, the upper left and lower right "corner" are the same chunk, so we write 'chunk_region(33, 15, 33, 15),'.
This is what the modified section of the plugin would look like:
# Protected Regions # Any chunk region in this list will not be deleted. protected_regions = [ # Use spaces to indent your lines so far that the 'c' in # 'chunk_region' is right under the # characters. # ----------- Add your protected regions below this line ----------- chunk_region(-1, 4, 3, 12), chunk_region(33, 15, 33, 15), # ----------- Add your protected regions above this line ----------- ]
If you're having trouble with this section, feel free to message the creator on Reddit. Be sure to include the modified part of the plugin in your comment. If MCEdit shows an error message, include the content of the error message, too.
Running the plugin
- Copy the (modified) plugin into the MCEdit plugins folder.
- On Windows, you will find a folder next to the MCEdit 2 exe called 'MCEdit 2 Files'. The 'plugins' folder is inside that folder.
- On macOS, the plugins folder is '~/Documents/MCEdit 2 Files/plugins'. You might need to create that folder if it doesn't exist.
- Restart MCEdit and open your world again. The biome deleter plugin should now be listed in the Plugins menu.
- Open the biome deleter plugin. It is listed as Biome deleter in the Plugins menu.
- Pick either Aggressive or Cautious mode (see above for the differences).
- Decide whether you want to run the plugin on the entire dimension, or just on the currently selected chunks.
- Select the biomes that you want to delete.
- Click OK to start the plugin. This may take hours depending on the size of your world, and the computer you're using. MCEdit may appear unresponsive in the process, but you should see a message in MCEdit's console window every now and then that reports how many chunks have been marked for deletion. Once the plugin finishes, MCEdit will be responsive again. You should also see a message in the console window that reports how many chunks have been marked for deletion in total.
- Now save the modified world. Again this may take a very long time, depending on the number of changed chunks.
Wrapping up
At this point, your world is ready to be opened in 1.13. Take a few minutes to check your world to verify that everything went well.
Feel free to message the author on Reddit if you have any questions.
Known problems
- The terrain generation in 1.13 is occasionally different from previous versions, so there can be some cases where the newly generated terrain does not blend into the existing landscape. If that happens in your world, you could add a protected region around the affected area, or delete additional chunks until the landscape is continuous again. This might take some trial and error. See this post for more details.
- This method will probably not work in worlds that were created prior to version 1.7 (released in 2013), since the terrain generation changed significantly in the 1.7 update.
- Treetops near chunk borders may not regenerate properly.
- There may be problems related to regenerating structures (e.g. ocean monuments, villages), but so far I was unable to reproduce them. If you run into problems of this sort, please let me know :)
Gallery
References
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

