ModsFinder

DataFly Lib

by FlyInMyEye

DataFly Lib is a Forge library that moves file reads and writes off the main thread, with a shared pool, coalesced writes and fallbacks for heavy load.

ForgeClient and serverAll rights reserved1.20.1 – 1.20.6

What it does

DataFly Lib provides asynchronous input and output for other Forge mods. It began as the data layer of the Adrenaline mod and was split out so that several mods can share one thread pool, instead of each starting its own threads and repeating the same file handling code. A mod that writes data passes a DataTask and receives its result through a callback, so the main game thread is not held while the disk is busy.

Bursts of writes to the same key are coalesced within a time window, so only the last value is written to disk. When memory runs low, the library can compress pending data with gzip to free heap space, at the cost of some CPU time. Writes too large for the buffer are spilled into a temporary spool directory rather than blocked or dropped. Adrenaline requires DataFly Lib, which is the only other mod listed as depending on it.

The library is published for Forge only, for 1.20.1 – 1.20.6, with 1.0.0 for 1.20.6 as the latest file. It runs on client and server, so both sides need it. The code is not open source; it is released under All rights reserved.

Key features

  1. Shared thread pool

    One pool serves every mod that uses the library, so threads are not started separately for each mod.

  2. Blocking-free data tasks

    Mods submit a DataTask and get the result by callback, without waiting on the calling thread.

  3. Coalesced writes

    Repeated writes to one key inside a time window are merged, and only the final value reaches the disk.

  4. Memory fallbacks

    Under memory pressure, pending data can be gzip-compressed, and oversized writes go to a temporary spool directory.

Compatibility

Latest build for each game version and loader.

1.20.61.0.0
1.20.51.0.0
1.20.41.0.0
1.20.31.0.0
1.20.21.0.0
1.20.11.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Required by 1 mod

Use cases

Mods with frequent saves

A mod that updates a data file many times per second can rely on write coalescing to avoid a disk write for every change.

Questions

Does Adrenaline need DataFly Lib?

Yes. Adrenaline lists DataFly Lib as a required dependency, and it is the only catalog mod that requires it.

Which loader and versions does DataFly Lib support?

It is published for Forge only, with files for 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5 and 1.20.6.

Does DataFly Lib have to be installed on the server?

Yes. Servers that run it need every player to install it too.

In the catalog

DataFly Lib is one of 3,514 Library mods on ModsFinder, and one of 1,576 Library mods for Forge. 11,154 mods support Minecraft 1.20.6.

More from FlyInMyEye

All projects

Similar mods

Official listing

Owner
FlyInMyEye
Published
2026-03-29
Updated on Modrinth
2026-03-30
Facts verified
2026-10-15

Tags