Skip to content

0.5.0

Latest

Choose a tag to compare

@Xytronix Xytronix released this 25 Nov 23:36

Upgrade Notes

  • Replace the old Hyinit JAR. Built for Hytale 0.7.7 and runs on Hytale 0.8.0-pre.6.
  • A JAR with a Main gets no Mixins when Hytale would refuse the plugin because a Dependencies entry is missing, disabled or outside its range.
  • A ServerVersion that does not match the server logs a warning, and the Mixins still apply.
  • Each release now has two files: Hyinit-0.5.0.jar for servers and hyinit-api-0.5.0.jar for plugin builds.

New Features

  • @IfHytale, @IfPlugin and @UnlessPlugin apply a Mixin class, handler or field only on matching Hytale versions or plugins. See Conditions.
  • One JAR can carry Mixins for several Hytale versions. See Version ranges.
  • @IfMixin is experimental and applies a Mixin only when other Mixins of the same JAR apply.
  • --write-fingerprints records the Hytale code a JAR's Mixins use, and HyinitChangedTargets lets a plugin compare it, warn or skip changed Mixins at startup. HyinitFingerprintAtTargets records the @At targets of every Mixin in a JAR. See Changed Hytale methods.
  • --check-mixins prints one line per early plugin, reports every broken JAR in one run and fails when a Mixin of an optional config could not be applied.
  • --check-mixins also reports @Shadow members and called methods that the running Hytale does not have.
  • --report writes the check result as JSON and --strict fails on warnings. See Installing.
  • Crash reports name the Mixin JAR whose code is on the crashing line.
  • Plugins can ask Hyinit for the Hytale version, applied Mixins, the exact overload a Mixin changed and each JAR's Mixin apply time. See Diagnostics.
  • Hyinit warns when two JARs change the same Hytale method in conflicting ways.

Fixes

  • Startup logs one count line per JAR for skipped Mixins instead of a list of every class.
  • A plugin's own Mixin config plugin decisions now show in the diagnostics.