
Structure DFU Cache
Java mod listed for Minecraft 1.20. Downloads from the MC Java Mods app on Android.
Moves repetitive structure DataFixerUpper (DFU) migration to the startup phase and caches the result to improve TPS during heavy chunk loading.
⬇ Download on ModrinthStructure DFU Cache
Moves repetitive structure DataFixerUpper (DFU) migration to the startup phase and caches the result to improve TPS during heavy chunk loading.
How it works
- Uniformly parses server structure resources during game startup or reload.
- Provides and caches processed structures through a vanilla-compatible resource pack layer.
Configuration
Starting in 1.2.0, processing limits can be configured in config/structure_dfu_cache.toml and are loaded on game startup (restart the game after editing):
# Maximum decoded NBT memory quota in MiB (tracks NBT decoder accounting of NBT objects and allocation overhead)
maxDecodedNbtMiB = 1024
# Maximum compressed structure resource size in MiB
maxCompressedResourceMiB = 64
- Both options must be positive integers in MiB.
maxDecodedNbtMiBtracks the NBT decoder's accounting of in-memory NBT objects and allocation overhead during processing (does not measure total DFU memory).- Worker concurrency is estimated based on available heap after deducting resident memory and a 2 GiB reserve, budgeting roughly 4x
maxDecodedNbtMiBper worker (capped at 4 threads, leaving 1 CPU core free when more than 1 core is available). Higher quota values reduce parallel workers to allocate more headroom for conversion. - When compressed resource size exceeds
maxCompressedResourceMiB, startup pre-processing is skipped and handed back to vanilla structure reading. When decoded NBT exceedsmaxDecodedNbtMiBor conversion fails, raw compressed bytes are cached as unoptimized resources and retried during subsequent load or reload.
Requirements
Install the following mod as a dependency:
- RinLib
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.20.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as structure-dfu-cache-1.2.0+1.20.1-fabric.jar — drop this file into the mods folder
- Download size: 433 KB
- Download link checked 9 Nov 2026 — working
These come from our own check of the pack file, not from the source page.