Jump to content

Recommended Posts

Posted

Hello

I have a problem with names of java functions and parameters names - they are completely unlegible.

Now I am creating world generator with custom noise and I cannot understand anything from code. For example, voids are named "func_222552_a" and parameters "p_222552_1_". Can I in somehow way decode it to see its real names or guys in Mojang just named it in this way?

Thanks for help

forge_issue.png

Posted

There's no way to get the original name out of that.

Everything that has a name in that environment has been named by someone on the Forge dev team or a community member.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted
  On 7/29/2019 at 4:33 PM, DaemonUmbra said:

There's no way to get the original name out of that.

Everything that has a name in that environment has been named by someone on the Forge dev team or a community member.

Expand  

That's most likely incorrect, these are Minecraft methods and parameter. Which means the user didn't run the gradle task setupDecompWorkspace

Posted
  On 7/29/2019 at 3:50 PM, matezz said:

Hello

I have a problem with names of java functions and parameters names - they are completely unlegible.

Now I am creating world generator with custom noise and I cannot understand anything from code. For example, voids are named "func_222552_a" and parameters "p_222552_1_". Can I in somehow way decode it to see its real names or guys in Mojang just named it in this way?

Thanks for help

Expand  

They're called SRG names.

 

Notch Names are the original names used by Mojang, we have no idea what those are because Minecraft is run through ab obfuscator so that everything ends up as a.a() a.b(int c) and so on (the obfuscated names).

 

Forge runs the deobfuscate task and turns a.a() into SRG names, which are unique identifiers that are consistent across major versions of the game (so 1.14.1 and 1.14.4 have the same SRG names).

 

Then Forge runs an MCP task which turns SRG names into MCP names. It can only do this for SRG names that have been identified and given a name by the community as handled by MCPbot on IRC.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

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.