Optimising World Storage and Performance Diagnostics with Minecraft 1.20.5 Features
Published 2026-10-16 00:12 UTC · by PixelRaid Owner
For many Minecraft server owners, the 1.20.5 update, known as "The Armored Paws Drop", might have primarily been associated with armadillos, wolf variants, and an updated user interface. However, beneath the charming new content, Mojang introduced significant technical changes that offer substantial benefits for server performance and world management. These include new region file compression algorithms and improved server TPS debug charts, providing powerful tools for savvy administrators.
Understanding and leveraging these 1.20.5 enhancements can lead to more efficient disk space usage, faster world loading, and a clearer picture of your server's health. This article will guide you through these technical upgrades, explaining how to utilise them to your advantage.
Understanding Region File Compression
Minecraft worlds are stored in `.mca` files, known as region files, each typically covering a 32x32 chunk area. Historically, these files used a compression algorithm (usually based on Zlib/Deflate) to save disk space. With Minecraft 1.20.5, Mojang introduced new options, allowing server software like Paper and Purpur to offer configurable choices for how these region files are compressed.
The primary aim of compression is to reduce the physical size of your world data on disk. Smaller files mean less storage required, and potentially faster read/write operations by the server, as less data needs to be moved from disk to memory.
The New Algorithms: Deflate, LZ4, and None
Minecraft 1.20.5 introduced support for the following region file compression algorithms:
- Deflate: This is the traditional Zlib-based compression, offering a good balance of compression ratio and performance. It's well-established but can be slower for very large files.
- LZ4: A modern, high-speed lossless compression algorithm. LZ4 typically offers significantly faster compression and decompression speeds compared to Deflate, often at the cost of a slightly larger file size (i.e., less aggressive compression). For Minecraft servers, where frequent world data access occurs, the speed benefit often outweighs the minor increase in file size.
- None: As the name suggests, this option disables compression entirely. While this results in the largest file sizes, it offers the absolute fastest read/write speeds as no processing time is spent on compressing or decompressing data. This option might be considered for servers with exceptionally fast storage (e.g., NVMe SSDs) and abundant disk space, prioritising raw I/O speed above all else.
Practical Application: Configuring Compression
Modern server software, such as Paper or Purpur, allows you to specify the region file compression algorithm in your `server.properties` file. The relevant setting is `region-file-compression`.
To configure this, locate `server.properties` in your server's root directory and add or modify the line:
region-file-compression=lz4
You can set the value to `deflate`, `lz4`, or `none`. It is generally recommended to start with `lz4` as it provides a robust balance of performance and storage efficiency for most servers.
Impact on Disk Space and I/O Performance
- Disk Space: Choosing `lz4` will likely result in slightly larger world files compared to `deflate`, but still significantly smaller than `none`. If disk space is a critical constraint, `deflate` might offer a marginal advantage, but you sacrifice speed. `None` will consume the most disk space.
- I/O Performance: `lz4` offers superior speed for both compression and decompression, meaning chunks can be loaded and saved faster. This can directly reduce lag spikes related to world I/O, particularly during rapid exploration or when many players are online in different areas. `None` will be the fastest from a pure processing perspective, but the larger files might tax your disk's raw throughput more. `Deflate` will be the slowest for I/O operations due to its more intensive compression/decompression.
Considerations for Existing Worlds
It is important to note that changing the `region-file-compression` setting primarily affects *newly generated or modified* chunks. Existing chunks that have not been loaded or altered since the setting change will retain their original compression. To fully convert an entire existing world, you would need to either regenerate chunks (which is often undesirable) or use external tools to re-save all region files, a complex operation best performed with extreme caution and comprehensive backups.
For most servers, simply setting `region-file-compression=lz4` and allowing it to apply to new and modified chunks over time is a practical approach. You will gradually see the benefits as players explore and interact with the world.
Enhanced Performance Diagnostics: Improved TPS Debug Charts
Beyond world storage, Minecraft 1.20.5 also brought improvements to the server's TPS (Ticks Per Second) debug charts. TPS is a critical metric: 20 TPS means your server is processing game logic at the optimal rate of 20 ticks per second. Any drop below 20 indicates lag.
While external profilers like Spark (now bundled with PaperMC) offer deep insights, Mojang's native debug charts provide a quick and accessible overview of server performance. The 1.20.5 update refined these charts, offering clearer visualisations and potentially more granular data points within the server's debug output.
Accessing and Interpreting Debug Charts
Server owners can typically access server-side performance data through the server console or by using the `/debug` command (which records and outputs a performance profile). The improvements in 1.20.5 mean the output from these sources is more informative, helping you identify potential bottlenecks.
Look for sections detailing:
- Tick duration: How long each tick is taking.
- Sub-system contributions: Which parts of the game (e.g., entities, block ticks, world generation, redstone) are consuming the most tick time.
- Load averages: Overall server load.
By regularly reviewing these charts, especially after new content is added or player counts increase, you can spot trends and react proactively. For instance, if entity processing consistently spikes, it might indicate an issue with mob farms, excessive mob spawning, or complex redstone contraptions.
Connecting Chart Data to Actionable Steps
- High Entity Load: Consider reducing mob caps, optimising mob farms, or using plugins to manage entity lifecycle.
- Chunk Loading Spikes: This could point to slow disk I/O (where `lz4` compression might help) or players rapidly traversing new terrain. Pre-generating your world can mitigate this.
- Redstone/Block Tick Issues: Identify complex contraptions causing lag. Sometimes, simpler designs or limiting the number of active redstone devices per chunk can help.
Comparing with External Tools
While the native debug charts are useful, they are often a first step. For deeper analysis, tools like Spark are indispensable. Spark provides a web-based interface with detailed breakdowns of CPU usage, memory allocation, and specific event timings, allowing you to pinpoint the exact plugin, mod, or game mechanic causing performance issues. The improved native charts in 1.20.5 complement these tools by offering a foundational layer of diagnostic data.
Maintenance and Best Practices
To maximise the benefits of these features and maintain a healthy server:
- Regular World Backups: Always back up your world before making significant configuration changes or updating your server software. This is non-negotiable.
- Monitor Disk Usage: Keep an eye on your world folder size, especially if experimenting with `none` compression. Proactive disk space management is crucial.
- Test in a Staging Environment: If possible, test new `region-file-compression` settings or analyse debug charts in a staging server. This prevents unexpected issues from affecting your live player base.
- Stay Updated: Regularly update your server software (e.g., PaperMC, Purpur) to benefit from the latest optimisations and bug fixes that leverage these underlying Minecraft changes.
By embracing the technical enhancements introduced in Minecraft 1.20.5, server owners gain better control over their world's storage footprint and a clearer pathway to diagnose performance issues. Whether you're running a small community server or a large network, these improvements, combined with robust hosting solutions like PixelRaid Hosting, provide the foundation for a stable and performant Minecraft experience.
Sources and further reading
Minecraft Java Edition 1.20.5 Release Notes: https://www.minecraft.net/en-us/article/minecraft-java-edition-1-20-5
Minecraft 1.20.5 Update News - Nitrado: https://server.nitrado.net/en-US/news/minecraft-1-20-5-update-news