Fluid Drain

Adds a block for draining water and lava.

File Details

fluiddrain-beta-1.3.1.jar

  • R
  • Sep 18, 2025
  • 104.20 KB
  • 7
  • 1.20.1
  • Forge

File Name

fluiddrain-1.3.1.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:fluid-drain-1347487:7008249")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Added
- Debug command system with `/draindebug true/false` toggle
- In-game chat debugging for drain operations with detailed logging
- Configurable maximum drain distance (default: 256 blocks)
- Visual debug system with flame particle outlines showing drain area bounds
- Block limit safety net to prevent memory overflow on massive water bodies
 
Fixed
- **CRITICAL**: Fixed diagonal connection bug where drains incorrectly treated diagonally adjacent blocks as connected
- Flood-fill algorithm now only checks the 6 adjacent faces (not 26 surrounding blocks)
- Eliminated false connections that caused drains to affect unintended water bodies
- Fixed performance issues with large connected water systems
- Resolved drain layer processing inefficiencies
- Fixed fill blocks getting stuck when encountering existing source fluid blocks
- Fixed fill blocks not stopping when all reachable areas are filled
 
Changed
- Drain face particles now always use bubbles for consistent visual feedback
- Drain range control to prevent unintended drainage of large connected water bodies
- Debug particles now show area bounds instead of individual blocks to prevent lag
- Fill blocks now have 256 block distance limit instead of arbitrary block count limits
- Removed 75,000 block limit from fill operations for unlimited area filling within range
 
Improved
- Dramatically improved accuracy of fluid connection detection
- Better error tracking for fluid removal operations
- Streamlined debug output for easier problem diagnosis
- Added configurable `maxDistance` setting in config file for custom drain ranges
- Fill blocks properly detect completion when all reachable fluid is converted to source blocks