Jump to content

Recommended Posts

Posted (edited)

I wanted to look into the workings of the models in Minecraft, but since the sources are missing or can't be loaded (idk), my IDE can only display the bytecode, wich causes the field and parameter names to have an autogenerated pattern like "p_XXXXX_X_" for parameters, where X is any single digit number. As you may guess, these names are not really helpful.

 

So, why are chunks of the sources missing, and where can I get accurate sources to attach to the decompiled files? Because the provided sources on the Forge website don't help (yes, I checked if it's the correct version).

 

Or maybe you know what each of these parameters represent:

class EntityModel<T extends Entity> extends Model
{
    public void render(T p_78088_1_, float p_78088_2_, float p_78088_3_, float p_78088_4_, float p_78088_5_, float p_78088_6_, float p_78088_7_)
    { }
}

 

Edited by Keheck
Posted
1 hour ago, Keheck said:

autogenerated pattern like "p_XXXXX_X_" for parameters,

Those are SRG names. Minecraft vanilla is obfuscated (a.a, b.cf, ee.q) and so the deobfuscation process translates those names (which change every version) into a consistent pattern of SRG names (that don't change often, if at all) before being made human readable by replacement with MCP names.

 

MCP names are entirely human generated as a community effort. If an MCP name does not exist, then the SRG name is used.

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.

Posted
2 minutes ago, Draco18s said:

Those are SRG names. Minecraft vanilla is obfuscated (a.a, b.cf, ee.q) and so the deobfuscation process translates those names (which change every version) into a consistent pattern of SRG names (that don't change often, if at all) before being made human readable by replacement with MCP names.

 

MCP names are entirely human generated as a community effort. If an MCP name does not exist, then the SRG name is used.

So I have to wait until someone makes an MCP name for that or I somehow make my own?

(Also, what does "MCP" and "SRG" stand for?)

Posted (edited)
17 minutes ago, Keheck said:

So I have to wait until someone makes an MCP name for that or I somehow make my own?

You can contribute.

http://mcpbot.bspk.rs/

Quote

(Also, what does "MCP" and "SRG" stand for?)

Mod Coder Pack.

SRG isn't an acronym, I keep forgetting what its origin is, but it doesn't mean anything. Its just the name of the package that does that particular step.

Edited by Draco18s

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.

Posted
3 hours ago, diesieben07 said:

SeargeDP is the founder of MCP.

Like I said, I keep forgetting and couldn't remember how to spell his name and when I tried searching the forums I got no results. ?

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.