promotional bannermobile promotional banner

HexJS

Adds Hexcasting support for KubeJS!
Back to Files

HexJS 1.1.1 [FORGE]

File nameHexJS 1.1.1 [FORGE].jar
Uploader
NanorasmusNanorasmus
Uploaded
Jul 29, 2024
Downloads
577
Size
51.9 KB
Mod Loaders
Forge
File ID
5578290
Type
R
Release
Supported game versions
  • 1.19.2

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:hexjs-1069164:5578290")

Learn more about Curse Maven

What's new

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

This mod has no additional files