CaveFlow

CaveFlow

Caves that breathe — a client-side Fabric mod that simulates underground airflow with a BFS flood-fill and renders dust particles that drift along the computed vectors.

by
232 Downloads
fabricadventuregame-mechanicsutility
Rent Server with this Mod

About this Mod

CaveFlow

A client-side Fabric mod. Every air block underground has a direction the air wants to go. CaveFlow computes that direction via a BFS flood-fill from sky openings and renders dust particles that drift along the result.

What it does

  • Airflow simulation — BFS seeds from every sky-exposed opening, propagates flow vectors through the cave network, runs on background threads so it doesn't spike frame time.
  • Dust particles — spawn from underground air cells and travel along the computed vectors. Biome-aware: standard caves, lush caves, and sculk/deep dark each get a distinct particle variant.
  • Explored vs. unexplored density — cells you've been near get a lower density multiplier. Returning to a known cave feels quieter; virgin caves feel more alive.
  • Settled dust — in dead-end pockets where airflow stalls, particles slow down and sit low.
  • Depth and Y-level scaling — flow builds up deeper underground.
  • Disk cache — computed flow is saved per world/server and reloaded on reconnect so it doesn't recompute every session.
  • Debug overlay/caveflow debug or the config toggle renders 3D flow arrows in-world.

How to use

Just load a world. No commands needed — flow computation starts when chunks load and particles appear automatically underground.

  • /caveflow debug — toggle the 3D flow arrow overlay.
  • ModMenu → CaveFlow → ⚙ for the config screen.

Configuration

Four tabs in the config screen:

  • General — master toggle.
  • Airflow — particle density, flow speed, detection range, explored/unexplored multipliers, depth and Y-level scaling.
  • Effects — visual variants. Some options here aren't implemented yet (heat shimmer, cold-air particles, drafts, tunnel currents) — they're in the menu but don't do anything.
  • Advanced — background threads, BFS budget per tick, queue size, min/max cave depth, FPS throttle and pause thresholds, disk cache path, eviction interval, fast-move threshold, debug overlay radius and stride.

Requirements

Minecraft Loader Fabric API YACL
1.21.11 Fabric 0.19.2+ any 1.21.x build 3.8.2+

Optional: ModMenu — adds the config-screen button.

Client-side only. Does not need to be on the server.

Notes

  • Performance defaults are tuned for a mid-range CPU (~0.5 ms/tick BFS). Drop BFS Budget and Background Threads in the config if needed.
  • The fast-move threshold pauses distant BFS work above a set speed — useful with elytra so computation isn't wasted on terrain flying past.
  • Automatic FPS protection — BFS work throttles automatically when frame rate drops. Below the throttle threshold (default 60 FPS) the budget scales down linearly; below the pause threshold (default 30 FPS) the BFS pauses entirely and a chat message is shown. Both thresholds are configurable. When the game window loses focus BFS pauses silently — no message is sent.

Available Versions

CaveFlow 0.1.0alpha
MC 1.21.10, 1.21.11fabric
May 22, 2026

How to Install CaveFlow on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).

3

Install Mod

Open the mod browser in the dashboard and search for "CaveFlow". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.11, 1.21.10

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

CaveFlow server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.

Is CaveFlow compatible with fabric?

CaveFlow officially supports fabric for Minecraft 1.21.11, 1.21.10. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with CaveFlow – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if CaveFlow consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install CaveFlow with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-All-Rights-Reserved
Server-side
Unsupported

Supported Versions

1.21.111.21.10