Hexstages
This mod provides compatibility between Hexcasting and Gamestages, allowing restriction of specific spell usage based on player stages.
Configuration
To set up restrictions, you need to create a datapack with JSON files in the /hexstages/staged_actions/ directory under a specific namespace. In these files, you associate stages with lists of Hexcasting action IDs.
Configuration Example
{
"expert": [
"hexcasting:teleport/great",
"hexcasting:flight/time"
]
}
In the provided example, the use of Greater Teleport and Wayfarer's Flight spells will only be available to players who have reached the "expert" stage. Attempting to use a restricted spell without the required stage will result in a negative blindness effect lasting 3 seconds.