promotional bannermobile promotional banner
premium banner
Addon for flowing Fluids to be used as an optimization component for Railpolish (but can be used standalone)

Description

Release 1 Currently uses LLM and spark reports to find performance loss and apply patches that end up in this jar. Well tested but if you find something id love feedback.

A component of railpolish features to give compat to flowing fluids (currently in dev) 

Can be used standalone as an optimization mod.

What this mod does

FFTick is a focused optimization patch for the Flowing Fluids mod.

Large fluid events like:

  • dam breaks

  • draining oceans

  • flooding caves

  • giant waterfalls

  • whirlpools

  • mass block placement in water

can create huge numbers of fluid updates, displacement checks, and deep spread searches. That often leads to:

  • high MSPT

  • server stutter

  • entity lag

  • floating or stuck water blocks

  • heavy tick queue buildup

FFTick patches those hot paths to keep fluid behavior stable while preventing fluids from taking over the whole server tick.

Main improvements

  • Protects entity ticking

    • Adds a hard fluid time budget so fluids cannot monopolize the server tick.

    • Reserves time for entities and other game systems.

  • Reduces MSPT spikes

    • Limits expensive fluid work per tick.

    • Adapts fluid budget based on server load.

  • Prevents floating water from heavy load

    • Budget-dropped fluid ticks are rescheduled in a controlled way instead of being silently lost.

  • Cuts fluid tick queue pressure

    • Throttles excessive fluid scheduling after duplicate suppression.

    • Helps prevent the giant queue sorting cost that can dominate server time.

  • Optimizes expensive Flowing Fluids search logic

    • Replaces stream-heavy spread selection with cheaper logic.

    • Reduces costly repeated world lookups with per-tick caching.

    • Clamps expensive BFS and displacement depth when the server is under pressure.

  • Improves compatibility with large structure placement

    • Defers displacement work so water is less likely to interfere with multiblock placement from other mods.

What it does not do

  • It is not a rewrite of Flowing Fluids.

  • It does not remove the mod’s core behavior.

  • It is designed to make large fluid events more practical, not to make fluids unrealistically instant.

Best use case

Use FFTick if you want to keep Flowing Fluids installed but reduce the performance cost of:

  • large moving bodies of water

  • modpacks with heavy automation or world interaction

  • servers or singleplayer worlds suffering from fluid-induced lag

Requirements

  • Minecraft 1.20.1

  • Forge 47.4.0

  • Flowing Fluids

Notes

  • This mod is a targeted patch for the current supported version listed above.

  • Performance gains depend on your world, modpack, and the scale of fluid activity.

  • Especially useful in worlds where large fluid systems are common.