COWMODSКаталог модов

LinearReader

Reduce Minecraft world size on disk.

Автор: Bugfunbug4,1 тыс.20обновлён 17 сент. 2026 г.
УправлениеОптимизацияУтилиты

Описание

LinearReader

Minecraft Range Loaders Server-side

Compression Wiki

LinearReader is a server-side Minecraft mod that reduces your world size without negatively impacting gameplay. This is done mainly through using Xymb's Linear Region File Format in place of Minecraft's Anvil file format, and through utilizing Zstd for compression instead of the Zlib compression algorithm used by vanilla Minecraft.

How is World Size Reduced?

Xymb's Linear Region File Format is already a large step up from vanilla Minecraft's region file format, and greatly reduces world sizes.

The other necessary improvement is the compression algorithm and level of compression. Higher levels of compression require more resources and more time, which is not ideal for an active server, and lower levels obviously do not save as much storage. So the challenge was, how can LinearReader provide the speed of low-level compression and the storage savings of high-level compression?

LinearReader solves this by splitting the workload into two separate stages. Live writes are compressed quickly with low-level Zstd compression levels, leaving the CPU with plenty of resources to run Minecraft. Then later, when the server is idle, LinearReader will safely recompress the region files with much deeper compression.

Compression Benchmarks

To show LinearReader's storage gains and why high level compression is not used during live writes, I ran benchmarks for the Anvil file format with Zlib using Java’s default compression level (which is what Vanilla Minecraft uses), Zstd level 4 (which is what LinearReader usually uses for live writes), and Zstd level 22 (which LinearReader uses for recompression). For a deeper dive on the benchmarks, see the benchmarks/ directory.

DatasetFormatOriginalCompressedCompression RatioCompression SpeedDecompression Speed
OverworldAnvil/Zlib 69.51 GB8.38 GB5.44x75.7 MB/s1271.3 MB/s
OverworldLinearReader (Zstd 4)9.51 GB6.21 GB7.39x585.5 MB/s1412.8 MB/s
OverworldLinearReader (Zstd 22)9.51 GB4.28 GB10.71x4.4 MB/s1589.2 MB/s
End (mostly void)Anvil/Zlib 62.33 GB2.16 GB3.66x188.4 MB/s1576.4 MB/s
End (mostly void)LinearReader (Zstd 4)2.33 GB244 MB33.20x1811.1 MB/s4062.7 MB/s
End (mostly void)LinearReader (Zstd 22)2.33 Gb141 MB57.50x10.1 MB/s6166.9 MB/s
Tectonic + TerralithAnvil/Zlib 62.89 GB2.56 GB5.97x84.1 MB/s1338.1 MB/s
Tectonic + TerralithLinearReader (Zstd 4)2.89 GB1.80 GB8.49x735.8 MB/s1742.8 MB/s
Tectonic + TerralithLinearReader (Zstd 22)2.89 GB1.24 GB12.37x4.4 MB/s1787.3 MB/s

As is shown in the above table, LinearReader + Zstd achieves better compression while still maintaining fast compression and decompression speeds during normal gameplay, (Zstd 22 is used for the recompressor, which is not active during normal gameplay).

Other Features

LinearReader doesn't just replace Minecraft's file format and compression algorithm, it also includes a bunch of other features, such as:

  • A backup system: LinearReader can automatically create backups of region files, which can be used if need be.
  • A cache system: A configurable number of recently used region files remain cached in memory, reducing disk reads and decompression.
  • A chunk pruning system: LinearReader can search for empty, worthless chunks that can safely be deleted. Strict rules are in place to ensure that only truly worthless chunks are pruned.
  • An adaptive runtime policy: LinearReader can tweak certain settings to keep the game running smooth.

Made with Servers in Mind

Being a server-side mod, LinearReader tries to be as helpful and informative for server admins as possible. There are commands, such as bench and health, for seeing benchmarks and internal metrics, and a config file so that settings can be tailored to fit the server.

(LinearReader works on singleplayer too, and players in singleplayer have access to all the same features that server admins can access.)

Modded Servers

LinearReader strives to be compatible with as many mods as possible. Most mods will just work, but any mods that change part of Minecraft's storage system or require reading files on disk will likely not work. Mods that read chunk data from RAM will likely work.

A list of compatible/incompatible mods can be found in the wiki.

If you find a mod that is incompatible with LinearReader (and is not already listed as being incompatible), please create an issue on my GitHub repo.

Installation and Uninstallation

To install, just download LinearReader off of CurseForge or Modrinth, drop the .jar file in the mods folder, and you're all set. LinearReader will handle everything from there.

To uninstall, run the command /linearreader export-mca start to convert your world's .linear files back to .mca, replace your .linear region files with the fresh .mca files, and remove LinearReader.

Data Safety

It is recommended to create a backup of your world before installing LinearReader, as LinearReader changes much about Minecraft's internal storage engine and any storage-related bugs could potentially corrupt your world. So please, make backups of your world.

Where to Learn More

This README does not provide a full, in depth explanation of all of LinearReader's features. I highly encourage reading the wiki to gain a full understanding of all LinearReader has to offer.

Additionally, you can ask a question on the GitHub repository by leaving an issue. You can also use the CurseForge comments section.

Development Status

LinearReader 1.3.0 will probably be the last major update.

I no longer plan to add much to LinearReader anymore. However, I do plan to keep LinearReader up to date with the latest Minecraft releases for the near future.

I will still try to respond to GitHub issues, and hotfixes or small updates may happen if need be, but my intention is for serious development of LinearReader (by me) to cease after the release of version 1.3.0.

AI Disclaimer

AI was used to code this mod. Everything is manually tested before a new release. If you run into any issues at all please report them on GitHub and I will try to resolve them as fast as possible.

For more information regarding the use of AI in this mod, please refer to AI_USAGE.md.

Галерея

Total Write TimeTotal Read TimeWrite Latency DistributionRead Latency Distribution

Последние версии

Все версии →
release

LinearReader-1.3.0 (neoforge 26.3)

1.3.0
17 сент. 2026 г.52Minecraft: 26.3neoforge
Скачать
Что нового
NeoForge 26.3 release
release

LinearReader-1.3.0.1 (fabric 26.3)

1.3.0.1
17 сент. 2026 г.257Minecraft: 26.3fabric
Скачать
Что нового
Fabric 26.3 release
release

LinearReader-1.3.0.1 (fabric 26.1-26.2)

1.3.0.1
7 сент. 2026 г.174Minecraft: 26.1, 26.1.1, 26.1.2, 26.2fabric
Скачать
Что нового
- Fixed c2me incompatibility [(#7)](https://github.com/Bugfunbug/LinearReader/issues/7)
release

LinearReader-1.3.0.1 (fabric 1.21.11)

1.3.0.1
7 сент. 2026 г.62Minecraft: 1.21.11fabric
Скачать
Что нового
- Fixed c2me incompatibility [(#7)](https://github.com/Bugfunbug/LinearReader/issues/7)
release

LinearReader-1.3.0.1 (fabric 1.21.5-1.21.10)

1.3.0.1
7 сент. 2026 г.21Minecraft: 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10fabric
Скачать
Что нового
- Fixed c2me incompatibility [(#7)](https://github.com/Bugfunbug/LinearReader/issues/7)
release

LinearReader-1.3.0.1 (fabric 1.20.5-1.21.4)

1.3.0.1
7 сент. 2026 г.75Minecraft: 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4fabric
Скачать
Что нового
- Fixed c2me incompatibility [(#7)](https://github.com/Bugfunbug/LinearReader/issues/7)
release

LinearReader-1.3.0.1 (fabric 1.20.2-1.20.4)

1.3.0.1
7 сент. 2026 г.18Minecraft: 1.20.2, 1.20.3, 1.20.4fabric
Скачать
Что нового
- Fixed c2me incompatibility [(#7)](https://github.com/Bugfunbug/LinearReader/issues/7)
release

LinearReader-1.3.0.1 (fabric 1.20-1.20.1)

1.3.0.1
7 сент. 2026 г.32Minecraft: 1.20, 1.20.1fabric
Скачать
Что нового
- Fixed c2me incompatibility [(#7)](https://github.com/Bugfunbug/LinearReader/issues/7)
release

LinearReader-1.3.0 (neoforge 26.1-26.2)

1.3.0
13 авг. 2026 г.48Minecraft: 26.1, 26.1.1, 26.1.2, 26.2neoforge
Скачать
Что нового
- Added Brotli as a usable compression algorithm - Manual recompressor can be run for specific dimensions - Bumped zstd-jni version - All commands can now be run by singleplayer owners without requiring operator status - Recompressor should now recompresses two files at once - Chunk pruning now uses a configurable `InhabitedTime` threshold and a region quiet-time gate instead of requiring `InhabitedTime == 0` - Fixed a bug that could let chunks with entities, block entities, or pending ticks be incorrectly pruned - Improved documentation (see the [GitHub](https://github.com/Bugfunbug/LinearReader) repo)
release

LinearReader-1.3.0 (neoforge 1.21.11)

1.3.0
13 авг. 2026 г.28Minecraft: 1.21.11neoforge
Скачать
Что нового
- Added Brotli as a usable compression algorithm - Manual recompressor can be run for specific dimensions - Bumped zstd-jni version - All commands can now be run by singleplayer owners without requiring operator status - Recompressor should now recompresses two files at once - Chunk pruning now uses a configurable `InhabitedTime` threshold and a region quiet-time gate instead of requiring `InhabitedTime == 0` - Fixed a bug that could let chunks with entities, block entities, or pending ticks be incorrectly pruned - Improved documentation (see the [GitHub](https://github.com/Bugfunbug/LinearReader) repo)