Skip to content

v2.4

Latest
Compare
Choose a tag to compare
@quat1024 quat1024 released this 15 Jun 01:50
· 7 commits to disaster-time since this release

Available as agency.highlysuspect:voldeloom:2.4 on the repo.sleeping.town Maven server.

See CHANGELOG.md for more details.

Full diff: v2.3...v2.4

Critical bugfixes

  • Very important fix: Fix reobfuscation of method calls that mention a class from Minecraft in their parameter list or return type.
    • Which is, frankly, "most of them".
    • Bug only cropped up if you didn't have srgsAsFallback = true. This option has been removed and is now effectively always true.
  • Fix the Forge-added class amq$1/net/minecraft/src/Block$1 getting put in the wrong spot (for like, the millionth time)
    • Fixes several IllegalAccessError crashes in the dev workspace, e.g. a canSustainPlant-related crash on 1.4.7

Breaking changes

  • srgsAsFallback as a configurable option is removed. It is now effectively set to true.
    • Proguarded names can now only show up in your dev workspace if they are not mentioned in your joined.srg (which'd probably mean you're using mappings for the wrong version).
    • Supporting both true and false turned out to be very complicated and buggy for little benefit. false mode wasn't working properly anyway; it still dumped SRG names into your workspace - and did you know that enum values weren't given MCP names? A correct implementation of srgsAsFallback = false stripped all enum value names. That's no good.
    • If your mod was calling methods or accessing fields with their proguarded names, you'll need to update it to use the func_ or field_-prefixed names.
  • The run dir is now correctly resolved against the current subproject project directory, instead of the root project directory.
    • Sorry about that. If you were using voldeloom in a subproject, you can probably remove your custom runDir now.

Changes

  • Bumped internal mappings version. Expect a slightly longer import time after doing this update.