HexJS

Adds Hexcasting support for KubeJS!

File Details

HexJS 1.1.1 [FABRIC]

  • R
  • Jul 29, 2024
  • 49.01 KB
  • 204
  • 1.19.2
  • Fabric + 1

File Name

HexJS 1.1.1 [FABRIC].jar

Supported Versions

  • 1.19.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:hexjs-1069164:5578286"

Quilt

modImplementation "curse.maven:hexjs-1069164:5578286"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

This update fixes an oversight in the cost system for custom patterns which allowed players to infinitely cast if they were not able to pay for the spell.

Changes:

  • Removed getCost method from registeredPatternCastEvent.
  • Removed setCost method from registeredPatternCastEvent.
  • Removed setCostInDust method from registeredPatternCastEvent.
  • Added tryConsumeMedia method from registeredPatternCastEvent which takes in an integer for how much media to consume, and returns an integer representing the amount it was not able to consume of the requested amount, 0 if it consumed enough, or a negative number if it over-consumed due to lack of appropriately sized media containers