Utility Jujutsu

A Mod with utilities for JujutsuCraft mod By Orca.

File Details

Utility Jujutsu Mod 5.1.0

  • R
  • Sep 3, 2024
  • 60.39 KB
  • 1.0K
  • 1.20.1
  • Forge

File Name

utilityjujutsumod-5.1.0.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:utility-jujutsu-1011785:5688231")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

In this version, I tried to fix a problem with mixins from another mod. The JJKU mod has a mixin that interacts with the AI of the Yorozu sphere, and since the mod hasn't been updated since June or July, this mixin was adjusted for version 38 or 39 but does not work in version 40 because the method signatures have changed.

At the time the JJKU mixin was created, there were two classes AITrueSphereProcedure.execute and AITrueSphere1Procedure.execute with the methods execute having signatures (LevelAccessor world, double x, double y, double z, Entity entity) and (world, x, y, z, entity). In version 40, the signatures respectively are execute(final LevelAccessor world, final double x, final double y, final double z, final Entity entity) and execute(final LevelAccessor world, final Entity entity).

The result is that JJKU with JujutsuCraft 40 causes a crash when Yorozu invokes its sphere because the mixin tries to call a method whose signature has changed.

What I did was simply override this. Previously, the JJKU mixin called the method AITrueSphere1Procedure.execute(world, x, y, z, entity); and now it calls the method AITrueSphere1Procedure.execute(world, entity);. It's an extremely simple fix and I haven't tested to see if the result would be the same. Since the class names have also changed, it would take some time to fix this thoroughly, and I would like to release this update as quickly as possible. However, this fix prevents crashes and most likely achieves the intended normal result of the JJKU mod, without affecting compatibility or altering the original idea that the JJKU creator intended for this class obviously.