HexFlow
by YukkuriC
With HexFlow installed next to Hex Casting, spell patterns gain new control flow for running a spell over areas, lines and sorted lists.
What it does
HexFlow extends Hex Casting with additional patterns that shape how a spell executes. Several of them repeat a spell over a region of blocks, such as a cuboid or a straight line, and a flood fill pattern walks outward through connected blocks of one type using breadth-first search. Others reduce a list of values or sort iotas so that later steps see them in a set order. Hex Casting is required, so it has to be present on every side that runs the mod.
The mod is released under the MIT License and is open source, with its source code, issue tracker and wiki linked from the project. Files are published for Fabric, Forge and NeoForge, covering 1.20.1 and 1.21.1. The Fabric and NeoForge builds are alpha, while the Forge build for 1.20.1 is a regular release. Snapshot builds are not part of the release list.
Key features
Cuboid iteration
A pattern runs a spell once for each block inside a cuboid, letting one cast act across a whole box.
Straight line iteration
A pattern repeats a spell at each step along a straight line, useful for marching a effect in one direction.
Flood fill over blocks
A breadth-first flood fill pattern spreads from a starting block to connected blocks of the same type.
Pure and reduce patterns
Pure and pure reduce patterns let a spell combine values without causing side effects on the world.
Sorting iotas
A sort pattern orders a list of iotas so that a spell can work through them in a predictable sequence.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Area spells
A single cast can cover a cuboid of blocks or a line of them, instead of one pattern per block.
Ordered data
Sorting and reduction let a spell turn a collected list into a single result or a sorted sequence.
Who it’s for: Players who already use Hex Casting and want spells that repeat over areas or process lists. The mod needs Hex Casting on every side, so server owners and players both install it.
Questions
Does HexFlow need Hex Casting?
Which versions does HexFlow support?
Does the server need HexFlow?
In the catalog
HexFlow is one of 7,216 Magic mods on ModsFinder, and one of 3,630 Magic mods for Fabric. 32,366 mods support Minecraft 1.21.1.
More from YukkuriC
Similar mods
What the author says
Adds several new patterns for better control of spell executions.
Official listing
- Modrinth page
- modrinth.com/mod/hexflow
- Owner
- YukkuriC
- Published
- 2025-02-03
- Updated on Modrinth
- 2026-10-14
- Facts verified
- 2026-10-15
