Amulet-Team / Amulet-Map-Editor

A new Minecraft world editor and converter that supports all versions since Java 1.12 and Bedrock 1.7.
https://www.amuletmc.com/
1.79k stars 123 forks source link

[Feature Request] Remove empty region files after `deleting unselected chunks`. #1016

Open chuanwise opened 10 months ago

chuanwise commented 10 months ago

Feature Request

The Problem

I want to export a palace in a very large (more than 11G) Minecraft archive. I use delete unselected chunks, but after operation, obvious changes in its size cannot be found, it's still more than 11G. But same-size archives are always less than 2G.

Feature Description

Same as the title of this issue: remove empty region files after deleting unselected chunks.

Alternatives

I tried to load every region file and delete them if they're empty based on br.com.gamemods:region-manipulator:2.0.0 and amulet-core. But because of the lack of docs, I don't know how to do that. : (

I also tried to search minecraft archives/saves compressor but nothing helpful.

GaoXanSheng commented 10 months ago

Quickly export the blocks you need as separate archives using Chunky