
HexecuteIf - Addon for HexCasting
HexecuteIf is an addon for HexCasting that provides several spells.
Basic spells:
Hermes' Deliberation: This spell evaluates the current magical environment and selectively performs subsequent spells only if the preconditions set by the mage are met.
It allows you to create complex spells with a conditional trigger, ensuring they are only cast under safe or favorable conditions.
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 circumstances.
Block management:
Can Break Block: Checks whether the given block can be broken.
Can Place Block: Checks if it is possible to place a block in the specified position, given the presence of liquids.
Inventory management:
Inventory Size: Returns the total number of slots in the inventory.
Occupied Slots: Returns a list of slots that are currently occupied.
Number of Items in Slot: Returns the number of items in the specified slot.
Throw Item: Removes the specified number of items from the specified slot in the inventory.
Transfer Item: Moves the specified number of items from one inventory slot to another, provided the target slot is empty.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.20.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as hexecuteif-forge-1.0.0+1.20.1.jar — drop this file into the mods folder
- Download size: 1.0 MB
- Download link checked 30 Aug 2026 — working
These come from our own check of the pack file, not from the source page.