Skip to content

MinecraftDecompiler v2.5 released

Pre-release
Pre-release
Compare
Choose a tag to compare
@XiaoPangxie732 XiaoPangxie732 released this 26 Dec 13:02
· 241 commits to master since this release

A new pre-release of MinecraftDecompiler. This version should be like 3.0-alpha1, but I'm too lazy to rename it. Version 2.5 won't be uploaded to GitHub Packages as it is a pre-release version.

Why publish a pre-release version: When I was refactoring the code, I realized that about 80% of the code is going to be changed, and renaming the version might be a little late, so I am going to release this version as a pre-release first.

What to do next(on 3.0): Update to Java 17, remove log4j, complete refactoring mapping output

Maven Plugin Updates:

  • maven-javadoc-plugin(3.3.0 -> 3.3.1)

Library Changes:

  • JMH(1.32 -> 1.33)
  • gson(2.8.7 -> 2.8.9)
  • ClassLoaderUtils(removed, integrated into Utils.java)
  • fastutil(8.5.4 -> 8.5.6)
  • asm-tree(removed)
  • CFR(0.151 -> 0.152)
  • Log4J(2.14.1 -> 2.17.0)
  • ForgeFlower(1.5.498.12 -> 1.5.498.23)

Changelog(these will also appear in the changelog of version 3.0):

  • Add Automatic-Module-Name attribute to the manifest file
  • DeobfuscateOptions becomes package-private
  • Fix LVT regenerator regenerating index 0(this) in non-static methods
  • Use methods instead of public final fields to access super class map and access map
  • Refactor mapping structure and mapping input
  • Add a new mapping type: unique mapping, which stores mapping representing like this
  • Now MinecraftDecompiler won't contain Spigot FernFlower jar and ForgeFlower jar
  • Decompiling using Spigot FernFlower is removed. Due to that, decompiler type OFFICIAL_FERNFLOWER is removed and now type FERNFLOWER refers to the official FernFlower
  • Now will download ForgeFlower jar from Forge Maven when use it to decompile
  • Now the example config of the user-defined decompiler uses Spigot FernFlower
  • Add checks for #28

Full Changelog: v2.4...v2.5

Download the release artifact here: https://github.com/MaxPixelStudios/MinecraftDecompiler/suites/4763699033/artifacts/132388768