Skip to content
alexyzerPublic

About

A Hexcasting-CC:Tweaked interop.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

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 staff peripheral 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.

About

A Hexcasting-CC:Tweaked interop.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages