How do I use .java files and recompile the code? #161
-
Yeah, I don't really understand Java that much. How do I decompile the code into .java files rather than .class files, so that I can edit them directly in IntelliJ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Run MCD with your args and
You need to figure out it yourself. Providing a useable workspace is not the goal of MCD. And usually the decompiled code cannot be directly recompiled because it contains errors. Maybe you should use MCP-Reborn instead.
It is probably a bug, I'll figure it out asap |
Beta Was this translation helpful? Give feedback.
-
I get it. It is a bug from Mojang. The actual main class is |
Beta Was this translation helpful? Give feedback.
-
Thank you! My problem with MCP-Reborn is that it doesn't support 1.21.1 and also has trouble with my Java 21 toolchain, but I'll think about it. |
Beta Was this translation helpful? Give feedback.
Run MCD with your args and
-r -d
You need to figure out it yourself. Providing a useable workspace is not the goal of MCD. And usually the decompiled code cannot be directly recompiled because it contains errors. Maybe you should use MCP-Reborn instead.
It is probably a bug, I'll figure it out asap