你可以幫助我們來翻譯此條目,但請勿使用機器翻譯。
這個過程會刪除你的世界的一部分,所以請仔細閱讀這些說明,確保你完全理解你在做什麼。
本教學解釋了如何重設任何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
參考
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

