
HexecuteIf
Hex Casting addon that adds several useful spells.
About this Mod
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.
Available Versions
How to Install HexecuteIf on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.1).
Install Mod
Open the mod browser in the dashboard and search for "HexecuteIf". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.1, 1.19.2
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
HexecuteIf server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.
Is HexecuteIf compatible with fabric and forge and quilt?
HexecuteIf officially supports fabric, forge, quilt for Minecraft 1.20.1, 1.19.2. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with HexecuteIf – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if HexecuteIf consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install HexecuteIf with just one click on your server.