About HexJS Mod
HexJS is an integration module that combines Hexcasting functionality with KubeJS, providing advanced capabilities for modpack creators and server owners.
Main Features
Permission and Restriction System
The server and each individual player can have their own lists of available patterns. These lists can be either permissive (whitelist) or restrictive (blacklist). By default, an empty blacklist is set.
Player lists are permanently saved, while the global server list is not saved. In case of conflicting settings, the individual player list takes priority.
Tip: Blocking the basic numeric literal (0) for positive or negative numbers automatically blocks all numbers of the corresponding type.
Pattern Redirection
The server and players can configure redirection of some patterns to others. This function is processed after applying whitelists and blacklists.
Only one processing pass is performed, allowing easy swapping of effects between two different patterns. In case of conflicting settings, redirection set for a specific player takes priority.
Custom Pattern Creation
One of the key features is the ability to create custom patterns and spells directly through KubeJS!
The process consists of two stages: first you register a pattern with a specific name and parameters, then you check whether this particular pattern was applied in the registeredPatternCastEvent to execute your logic. This function also allows overriding existing patterns.
Pre-charged Items
Create ciphers, amulets, and artifacts with pre-embedded spells and media!
Perfect for filling loot chests, mob drops, and many other scenarios!
Forced Spell Casting
Apply any pattern lists on behalf of any player directly from KubeJS!
This function can be used to create proxies, as well as to force fake players from CarpetMod to cast spells!
Additional Capabilities
- Creation of custom ancient scrolls
- Obtaining angular signature of Great Spells through KubeJS
- Setting maximum length for Bookkeeper's Gambit (globally and/or for individual players, similar to whitelists and blacklists)
Important Information
Since primary testing was conducted on Fabric, additional errors may occur in the Forge version.