Posted August 7, 20178 yr How would I decompile and deobfucate Minecraft so that I can view the source code and make changes to it? I'm fairly sure MCP does it but as far as I am aware it has been discontinued. Thanks!
August 7, 20178 yr 15 minutes ago, s1320dazkj02 said: How would I decompile and deobfucate Minecraft so that I can view the source code and make changes to it? I'm fairly sure MCP does it but as far as I am aware it has been discontinued. Thanks! Discontinued... MCP isn't discontinued.. it's still used to develop forge and mods. And besides, why do you want to change the source code? Most of the time a forge mod should be sufficient... Developer of Randores (adds 256^3 ores to the game) and Arcane Bags (adds ridiculous storage with ridiculous crafting recipes). I know Java pretty well... So yeah... Quote This is where I'd put an inspirational and/or clever quote, but I can't think of one right now... This is the output of the totally, 100% working compiler for my programming language, Planet9: Beginning Compilation... Failed compilation! planet9.compiler.error.CompilationException: Compiler not yet implemented at planet9.compiler.Compiler.compile(Compiler.java:39) at planet9.compiler.app.CompilerApp.main(CompilerApp.java:147)
August 7, 20178 yr Here's mcForge forum. You may well not ask about MCP or code patching here. About forge, take a look at forgegradle - there's a great tutorial of Getting Started. I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
August 7, 20178 yr Author How would I be able to create mods if I do not have access to the source code? Besides, the documentation page seems rather incomplete, with lots of missing information.
August 7, 20178 yr You will have the readonly access to the source code. There are various registries and events to change vanilla behavior and introduce your features. And imo for now the document page is nearly complete. You should find the way yourself if you want to do something beyond. EDIT: also in this forum we will help you if you have difficulties somewhere. If you know basics java. Edited August 7, 20178 yr by Abastro I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
August 7, 20178 yr Follow this to set up a forge project. I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
August 7, 20178 yr 1 hour ago, diesieben07 said: Sorry, but this is probably way outdated. The documentation has a Getting Started guide. Oops. Didn't take a look on it. Sorry. Edited August 7, 20178 yr by Abastro I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
August 17, 20178 yr I used the guide to setup the gradle workspace (and I can successfully run a custom mod from Eclipse), but where do I actually find the mentioned decompiled source code of the game? I can only find my own src files...
August 17, 20178 yr 1 hour ago, Alekseyev said: I used the guide to setup the gradle workspace (and I can successfully run a custom mod from Eclipse), but where do I actually find the mentioned decompiled source code of the game? I can only find my own src files... Your IDE project will have forgeSrc-<forge_version>.jar as a referenced library, this contains the Minecraft and Forge classes. It should also have the source JAR (forgeSrc-<forge_version>-sources.jar) attached. If it hasn't and your IDE asks you to attach sources, the source JAR will be in the same directory as the regular JAR. Edited August 17, 20178 yr by Choonster Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
August 17, 20178 yr 34 minutes ago, Choonster said: Your IDE project will have forgeSrc-<forge_version>.jar, this contains the Minecraft and Forge classes. It should also have the source JAR (forgeSrc-<forge_version>-sources.jar) attached. If it hasn't and your IDE asks you to attach sources, the source JAR will be in the same directory as the regular JAR. Thanks! For some reason, I must have completely missed the net folder... and used MCP due to that. Now after having asked, I find it... classic.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.