
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.