hube12 / DecompilerMC

This repository allows you to decompile any minecraft version that was published after 19w36a without any 3rd party mappings, you just need to execute the script or the executable (see releases)! Thanks mojang to have published proguard mappings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Decompiling server broke with 21w39a

misode opened this issue · comments

As mentioned in the changelog. Only the bootstrap Main class is decompiled now.
image

commented

this will be fixed in a few hours

@hube12 Sorry to bother, but any updates?

commented

@hube12 Sorry to bother, but any updates?

Oh yeah, sorry forgot to push, here it is

commented

it's really a simple fix, just parse META-INF/versions.list then go in META-INF/versions/{path} and extract that one and substitute it to the other one. (I don't care about the libs)

@hube12 The solution is not that simple, as now the decompiler doesn't have any knowledge of the libraries, writing warnings and giving slightly different results code-wise.

The real solution probably involves using the contents of META-INF/classpath-joined as described in the changelog.

image
image

commented

I mean to me both are readable but I do get where you are coming from, I will later make back a full archive with the libs to give to the decompiler