Skip to main content

Module spread_context

Module spread_context 

Source
Expand description

Spread calculation context for fluid flow optimization.

Based on vanilla’s FlowingFluid.SpreadContext, this provides local caching of block states and hole checks during fluid spread calculations.

This avoids repeatedly querying the world for the same positions during the recursive slope-finding algorithm.

Structs§

SpreadContext 🔒
Context for fluid spread calculations with local caching.