Jump to content

Function changes?


Splashsky

Recommended Posts

I'm reverse-engineering a mod that was apparently designed for Minecraft 1.7.10, and in their custom food classes I'm seeing methods like "func_77637_a" and "func_111206_d", the former of which I guessed was the old-school setCreativeTab() method from the Minecraft Item class.

 

Is there a dictionary that shows the function changes? I'm having difficulty translating the old code.

Link to comment
Share on other sites

You can deobfuscate mods using bearded-octo-nemesis. You can also download MCP mappings from the MCPBot website and manually look up SRG names (e.g.

func_77637_a

) in the CSV files.

 

If the SRG name doesn't have an MCP name, set up a 1.7.10 workspace and look at the method in your IDE. You may be able to figure out what its new name is by comparing the old and new versions of the class.

 

func_111206_d

is

setTextureName

(which no longer exists in 1.8 as it has been replaced with the model system) and

func_77637_a

is

setCreativeTab

.

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.

Link to comment
Share on other sites

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.