Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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!

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)

 

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.

  • 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.

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 by Abastro

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

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.

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 by Abastro

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

  • 2 weeks later...

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... :/

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 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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.