MinimumCostFlowCalculator
Calculates the path(s) of least resistance for liquid flow.
Methods
__construct()
php
public function __construct(\pocketmine\world\World $world, int $flowDecayPerBlock, \Closure $canFlowInto)getOptimalFlowDirections()
php
public function getOptimalFlowDirections(int $originX, int $originY, int $originZ) : array