Jump to content

[Coding][Help] New to to forge and modding with 1.7.2


Recommended Posts

Posted

Hi forge!

 

I'm a bit new to modding in Minecraft but learning fast and have some basic skills with Java.

 

But my question is:

 

Are you supposed to use for example "modBlock.func_149739_a()" instead of "modBlock.getUnlocalizedName()"?

Is there a list somewhere that tells what I should use instead?

 

Or am I totally wrong and there is a new way to code with 1.7.2 and you can't use the old "functions"?

 

I had to check to check the old code to figure out where to find these function numbers, as I call them.

 

Keep up the good work on the code!

Don't mess it up like I did!

Posted

The function numbers are what they are named when they get decompiled. As we do not have access to the unobfuscated minecraft source, we have to decompile and deobfuscate it ourselfs.

That is what the tools the MCP Team provides is doing. By using their system, we (the modders) can submit understandable "real" names to methods.

 

In every major minecraft update it is changed up a lot and therefore a lot of the names must be re-added or completely re-done as methods change etc.

Therefore when the new versions are just comming out, we (the modders) haven't had time to mess around to much with the new code and submit names, therefore a lot of things will have such names for the time being.

 

Also keep in mind that Forge is NOT out with a stable release for 1.7.2 it's still very much indev, and so is MCP.

Therefore I would NOT recommend starting to learn modding by starting for 1.7.2 now, I would either wait 1 month and spend the time learning more Java and computer science or whatever.

And come back once things are a bit more beginner friendly.

Either that or start for 1.6.4 and re-learn some of it when things are more settled for 1.7.2 :)

 

If you guys dont get it.. then well ya.. try harder...

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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