Hex Casting
by petrakat
Hex Casting lets players write spells as short programs: a stack-based system where patterns drawn on a hexagonal grid become spells cast in-world.
What it does
Spells in Hex Casting are built from patterns drawn on a hexagonal grid, and they run as stack-based programs, so a caster can chain operations without precompiling them. The mod adds its own progression through an in-game journal that reveals information over time. Items that can cast hexes can be crafted and handed to other players.
The mod requires Caelus API, Cardinal Components API, Cloth Config API, Fabric API, Fabric Language Kotlin, Inline, PAUCAL and Patchouli, so every one of those must be installed alongside it. Required by 99 other catalog mods, including Hexal, Hex Gloop, MoreIotas, HexTweaks and Hexlink, it is the base that those add-ons extend. Hex Casting runs on client and server, so the server and every player need it, and it is published for Fabric, Forge, NeoForge and Quilt across the 1.19.2 – 1.20.1 range, under the MIT License, which makes it open source.
Key features
On-the-fly casting
Hexes are cast directly from patterns drawn on the grid, without a separate compile step before use.
Craftable hex items
Items that carry a hex can be crafted and given to other players, letting spells travel with the items.
In-game journal
A journal given at spawn holds the mod's guide, and its entries reveal more as the player progresses.
Lore and progression
Ancient lore is uncovered through play, and the mod's themes of madness and the sentient life of a barren world run through its content.
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 7
Required by 99 mods
Use cases
Spell programming
Players who enjoy building logic out of stacks and patterns use the grid to write their own casting sequences.
Modpacks and videos
The author allows the mod in modpacks and in streams or videos without asking first.
Who it’s for: Players who want programmable magic with a learning curve, and modpack builders who need a stack-based spell system. Players who want a mod without extra requirements will find the dependency list long.
Questions
Which loaders does Hex Casting support?
Does Hex Casting need to be installed on the server?
Which required dependency is specific to Fabric?
In the catalog
Hex Casting is one of 7,216 Magic mods on ModsFinder, and one of 3,630 Magic mods for Fabric. 34,764 mods support Minecraft 1.20.1.
More from petrakat
Similar mods
What the author says
A mod for Forge and Fabric adding stack-based programmable spellcasting, inspired by Psi. > this feels like the whole "almost die from overcasting for enlightenment" thing but in real life -- Matt6049
Official listing
- Modrinth page
- modrinth.com/mod/hex-casting
- Owner
- petrakat
- Published
- 2022-11-20
- Updated on Modrinth
- 2026-08-27
- Facts verified
- 2026-10-15
