ModsFinder

HexecuteIf

by N08I40K

HexecuteIf is a Hex Casting addon that adds spells for conditional casting, block placement, inventory slot checks and item transfers.

FabricForgeQuiltClient and serverMIT LicenseOpen source1.19.2 – 1.20.1

What it does

Hex Casting, the magic system this addon extends, supplies the base spells. HexecuteIf adds several more, all of which run inside the same casting framework. Charon's Caution works as a protective check: it stops any spell cast after it when a chosen condition is met, which guards against harmful or unwanted casts made under particular circumstances. Its companion, Charon's Gambit, is the spell that performs that stopping.

The addon also covers inventory and world actions. Place Block checks whether a block can be placed at a given position, taking liquids into account. Occupied Slots returns the list of inventory slots that hold items, and Number Items Slot reports how many items a chosen slot contains. Throw Item removes a specified number of items from a slot, while Transfer Item relocates items between inventories, but only into a target slot that is currently empty.

The mod is required on the client and on the server, so both sides need it. It is released under the MIT License and is open source, with a source repository and an issue tracker. Builds are available for Fabric, Forge and Quilt on the Minecraft 1.19.2 and 1.20.1 releases. Installation needs Hex Casting, Architectury API, Cloth Config API, Kotlin for Forge and Fabric Language Kotlin, plus Fabric API on Fabric. Mod Menu is optional.

Key features

  1. Conditional spell stopping

    Charon's Caution halts any following spells when a chosen condition is met, acting as a safeguard in spell chains.

  2. Block placement check

    Place Block tests whether a block can be placed at a specified position, including checks for nearby liquids.

  3. Slot inspection

    Occupied Slots lists the inventory slots holding items, and Number Items Slot reports the count in a given slot.

  4. Item removal and transfer

    Throw Item removes a set number of items from a slot, and Transfer Item moves them to an empty target slot.

Compatibility

Latest build for each game version and loader.

1.20.11.0.0+1.20.11.0.0+1.20.1Not available
1.19.20.1.0-fabric0.1.0-forge0.1.0-fabric
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 5

Cloth Config APIConfiguration Library for Minecraft Mods
Required
Fabric Language KotlinThis is a mod that enables usage of the Kotlin programming language for Fabric mods.
Required
Architectury APIAn intermediary api aimed to ease developing multiplatform mods.
Required
Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required
Hex CastingPowerful programmable stack-based spellcasting
Required

Optional 1

Mod MenuAdds a mod menu to view the list of mods you have installed.
Optional

How it compares

Full comparison

MoreIotas is open source under the MIT License and supports Fabric and Forge, with the same client and server environment as HexecuteIf. Hexthingy is a Fabric-only mod for 1.20.1 under the GNU Lesser General Public License v3.0 only, so it does not cover Forge or Quilt. Hex Keys is open source under the MIT License for Fabric and Forge.

ModLoadersGame versionsEnvironmentUpdated
HexecuteIfFabric, Forge and Quilt1.19.2 – 1.20.1Client and server2025-11-16
MoreIotasFabric and Forge1.19.2 – 1.20.1Client and server2026-06-16
HexthingyFabric1.20.1Client and server2024-12-15
Hex KeysFabric and Forge1.19.2 – 1.20.1Client and server2026-04-14

Questions

Does HexecuteIf need Hex Casting?

Yes. Hex Casting is a required dependency, and the addon's spells run inside its casting system.

Which loaders does HexecuteIf support?

Fabric, Forge and Quilt. The latest files are 1.0.0+1.20.1 for Fabric and Forge, and 0.1.0-fabric for Quilt on 1.19.2.

Does Forge need Kotlin?

Yes. Kotlin for Forge is listed as a required dependency on the Forge loader.

In the catalog

HexecuteIf 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.

Similar mods

What the author says

HexecuteIf is an addon for HexCasting that provides several spells. Charon's Caution: Similar to Charon's Gambit, this spell stops subsequent spells from being cast if a certain condition is met. It acts as a protective measure, preventing potentially dangerous or unwanted spells from being performed under certain…
N08I40K, on the Modrinth page

Official listing

Owner
N08I40K
Published
2024-05-25
Updated on Modrinth
2025-11-16
Facts verified
2026-10-15

Tags