Compatibility
Minecraft: Java Edition
1.21.1
Platforms
Supported environments
Client and server
Tags
Creators
Details
Licensed MIT
Published last week
Updated last week
Hex Casting - CC:Tweaked interop: Cast spells with a peripheral.
HexCasting + Computer Craft. Not to be confused with JHexCC (HexC Compiler)
To use this mod, you need to get Mindsplice Staff first.
Equip the Mindsplice Staff on a Turtle or Pocket Computer to get access to the staff peripheral.
Visit Staff API documentation to read about available methods.
Example code to cast spell from the Focus in selected slot:
staff = peripheral.find("staff")
staff.cast("aqqqqq") --Scribe's Reflection
staff.cast() --Hermes' Gambit
Following "Extra" features are planned, some with config toggle.
- Fake player implementation for Turtle Casting Environment.
- Mishaps affecting the executing computer (fuel drainage, shutdowns, block breaking).
- Equipping media phials as peripherals.
- Utility library "hexlib", packaging convenient and extra features using this API.
Currently implemented:
- Complete
staffperipheral functionality. - Behaviour configs.
- Data-driven system of allowing/disallowing certain iotas crossing Lua -> HexCasting boundary.
- Iota-specific validation system extensible through Java-side HexCCAPI. This feature may change in later builds.


