I am using obfuscation mappings on any decompiler I can get my hands on. Unfortunately, all of them end up with Syntax errors. Does anyone know of any decompiler that can use obfuscation mappings without the code having syntax errors>
There is Mod Coder Pack, which I use to make my own mods for 1.6.4 and while it hasn't officially been updated past 1.12 I've seen people using it for later versions, presumably by using updated mappings, and it automatically does everything for you (decompilation, fixing errors, deobfuscation, including adding comments to help document the code).
However, I did find an updated version of MCP which says it supports up to 1.15.1 (at least, based on the listed releases, it already appears to be in the process of being updated to 1.16.1 though):
Presumably, modding tools like Fabric, which is updated so fast it is even available for snapshots, also have their own decompilers/deobfuscators, although I've never used them so I don't know how they work (or can even be updated so fast, even with Mojang's obfuscation mappings, since you have to account for changes to the code itself).
Thanks, I will use the Mod Coder Pack when it is available. However, it takes about a month to generate mappings and the MCP mappings for 1.16 have not come out yet, so that means Mojang's mappings would be helpful. The Mod Coder Pack is really easy to work with, I must say, so I thank you for that. I still try to look for ways to get mojang's obfuscation mappings to work.